This project has moved and is read-only. For the latest updates, please go here.

Avalon -LayoutDocumentPane background

Jul 30, 2015 at 5:26 PM

Where can i change the background color for layoutdocumentpane ? My dockingmanager will have a fixed documentpane and i want it to have a specific color.
Jul 30, 2015 at 7:48 PM

You can set the property DockingManager.DocumentPaneControlStyle and modify the base style for LayoutDocumentPaneControl :
            <ResourceDictionary Source="/Xceed.Wpf.AvalonDock;component/Themes/generic.xaml" />

         <Style x:Key="myStyle"
                TargetType="{x:Type xcad:LayoutDocumentPaneControl}"
                BasedOn="{StaticResource DocumentPaneControlStyle}">
            <Setter Property="Background"
                    Value="Green" />

<xcad:DockingManager   DocumentPaneControlStyle="{StaticResource myStyle}">
Marked as answer by pedropdv on 7/30/2015 at 6:24 PM
Jul 31, 2015 at 2:25 AM
Thank you!