Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
510
DockableControlPane Tab - setting the colour
posted

We have an UltraDockManager which has a handful of panes docked in it. We would like to be able to give the tabs a different appearance (when active and not active) depending on the contents of the panes - appearance to be determined when we create the panes at run time.

I have managed to successfully set the colour of the tab when it is active with the following code (Colours are for testing only, please don't judge me on them):
newPane.Settings.ActiveTabAppearance.BackColor = Color.Aqua;
newPane.Settings.ActiveTabAppearance.BackColor2 = Color.Blue;
newPane.Settings.ActiveTabAppearance.ForeColor = Color.White;

But when this pane is not active its appearance goes back to the default - in our case white on black.
I have tried setting: TabAppearance, CaptionAppearance and every other "Appearance" property on DockableControlPane.Settings but with no luck. Please can someone help me?

I am using infragistics version 9.2.

 

Parents Reply Children
No Data