Tabcontrol ownerdraw changes the style of the tabcontrol frame

I am having a problem with tabcontrol. When I change DrawMode to ownderdrawfixed, the borderstyle tabcontrol changes from "fixedsingle" to "3dfixed", but there is no such property tabcontrol borderstyle. The closest thing to the borderstyle tabcontrol is the appearance, which has not changed.

alt text

Look at the picture above to understand what I'm talking about.

Is there a way to change the tab title color without ownerdraw, so I won’t need to use ownerdraw?

or how can i fix borderstyle tabcontrol?

+5
source share
1 answer

ownerdraw, , , : " ". .

, , System.Windows.Forms.VisualStyles. , , . VisualStyleRenderer - , VisualStyleElements .

. treeview ownerdraw: VisualStyleRenderer (WinForms)

+3

All Articles