How to create different colored tabs in dockpanel-suite in a winforms c# application -


i creating application using dockpanel suite 2.14.0. have 2 different colors of dockcontent tabs. when create new documents, each tab created in dockpanestrip color based on theme using (vs2013). able specify alternate color, tab rectangles can of different colors.

my idea add color properties tabactivecolor , tabinactivecolor in dockcontent class.

public color tabactivecolor { get; set; } public color tabinactivecolor { get; set; } 

then in program, in order change tab color, set these colors (if don't set them, default theme color used.

if theme using vs2013, assumed edit onpaint event of tabvs2013() class in vs2013dockpanestrip.cs. if determine if tabactivecolor , tabinactivecolor have been set, override default colors when drawtabstrip, , drawtabstrip_document called. however, can't seem figure out how access dockcontent.tabactivecolor property onpaint event.

am going in wrong way, or maybe missing simple?


Comments