Articles in this section
Category / Section

How to set the side panel and side panel tab items background color in DockingManager ?

1 min read

In DockingManager, you can change the side panel and side panel items background by using SidePanelBackground and SideItemsBackground properties respectively. Refer to the following code example.

XAML

<syncfusion:DockingManager x:Name="dockmanager" SidePanelBackground="Green" SideItemsBackground="Blue"  UseDocumentContainer="True">
            <ContentControl Name="child1" syncfusion:DockingManager.Header="Dock1" syncfusion:DockingManager.State="AutoHidden" ></ContentControl>
            <ContentControl Name="child2" syncfusion:DockingManager.Header="Dock2" syncfusion:DockingManager.State="AutoHidden" ></ContentControl>
            <ContentControl Name="child3" syncfusion:DockingManager.Header="Dock3" syncfusion:DockingManager.State="AutoHidden"></ContentControl>
</syncfusion:DockingManager>

 

C#

dockmanager.SidePanelBackground = Brushes.Green;
dockmanager.SideItemsBackground = Brushes.Blue;

 

The following screenshot displays the Side panel background and side items background color in DockingManager.

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied