This is a migrated thread and some comments may be shown as answers.

Unable to Set the Inactive Background Color of Document Pane Tabs

1 Answer 80 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 11 Mar 2009, 08:23 PM
I have a Docking Manager that contains several Document Panes.  The Panes are selectable by using a tab.  However, currently, I don't know of a way to indicate which of the tabs has been selected (both the active and inactive tabs look the same).  This is important, because the Tab title indicates what the controls on the document pane refer to.

I'm trying to select a background color for both active and inactive tabs using Visual Style Builder (VSB).

I select the Load Control off the VSB File Menu, then Document Presenter control.

This brings up a hierarchy.  I select the following:

RootRadElement
   Docking.DocumentPresenterElement
      DockPresenterLayout
         ForceSizeLayoutPanel
            StripLayoutPanel
               CaptionLayout
                  RadTabStripElement
                     TabLayoutPanel
                        Docking.DockableTab

The Docking.DockableTab entry lets me set the background color property of the active tab.

Is there a way that I can set the background color of an inactive tab?

Thanks,
Richard

1 Answer, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 17 Mar 2009, 04:20 PM
Hi Richard,

Thank you for the question.

When you are creating your own theme for the DocumentPresenter, please note that you should create a theme for RadTabStrip control as well, since the properties for the tabs are taken from this theme. I am attaching a sample project which demonstrates the approach. The ThemeName of the themes should be the same. 

In short, your task is to set the colors for the tabs in the RadTabStrip theme. I am attaching a sample project to demonstrate the approach. If you need additional assistance, feel free to contact me.

Regards,
Julian Benkov
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Themes and Visual Style Builder
Asked by
Richard
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Share this question
or