Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: Avalon -LayoutDocumentPane background

$
0
0
Hi,

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

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

<xcad:DockingManager   DocumentPaneControlStyle="{StaticResource myStyle}">

Viewing all articles
Browse latest Browse all 4964

Trending Articles