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

Docking - Changing - Title Background Color

1 Answer 155 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Emre
Top achievements
Rank 2
Emre asked on 09 May 2012, 04:57 PM
Hello,

We've been working with WPF Compenents and using Metro Template as ApplicationTheme. I want to chane the the background color of DocumentPane Title ( the conaitner of the title).

To explain clearly, "Visualizer" text has a container which I want to change the background.
        <telerik:RadDocking x:Name="radDocking1"   BorderThickness="0"  Padding="0" Grid.Row="1"  Background="WhiteSmoke">
            <telerik:RadDocking.DocumentHost  >                
                <telerik:RadSplitContainer >                    
                    <telerik:RadPaneGroup >                        
                        <telerik:RadDocumentPane  Name="ActualContent" Title="Visualizer " CanFloat="False" CanUserClose="False" >         
I had tried couple of possible Templates however, I could not succeed. 

Regards,

1 Answer, 1 is accepted

Sort by
0
Dani
Telerik team
answered on 14 May 2012, 09:45 AM
Hello Emre,

You need to copy the styles and resources for RadDocking for Metro theme from your local RadControls installation folder. Then find the RadPaneDocumentHostTemplate and modify the Background properties of the Borders available in the control template to see the pane header background change. For example, to change the blue accent brush when a document pane is selected, change the background of the SelectedVisual.

Greetings,
Dani
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
Docking
Asked by
Emre
Top achievements
Rank 2
Answers by
Dani
Telerik team
Share this question
or