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.
Hi grasshopper,
I believe that you will be able to obtain the behavior that you are describing by using the SelectedTabAppearance of the UltraDockManager. I have constructed and attached a sample, which demonstrates this approach.
Please find the sample attached.
If you have any questions at all, regarding this issue, please let me know.
Sincerely,Chris KDeveloper Support EngineerInfragistics, Inc.www.infragistics.com/support
This unfortunately is what i already have. When a tab 1 is active it shows blue, tab 2 is red and tab 3 is green. But i would like all three tabs to show these colours regardless of which one is selected. ie if tab 1 is selected it has a blue background, but tab 2 is red and tab 3 is green.
Is this possible?
Please let me know if I may be of any further assistance regarding this issue.
Sincerely,
Chris K
Developer Support Engineer
Infragistics, Inc.
www.infragistics.com/support