Set TabPage Header Color

前端 未结 4 1627
再見小時候
再見小時候 2020-11-27 06:57

Greetings,

I have a tab control and I want to have 1 of the tabs have it\'s text color changed on a event. I\'ve found answers like C# - TabPage Color event and C# W

4条回答
  •  [愿得一人]
    2020-11-27 07:35

    For WinForms users reading this - This ONLY works if you set your tab control's DrawMode to OwnerDrawFixed - the DrawItem event never fires if it's set to Normal.

提交回复
热议问题