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

New Post: Backgorund of LayoutDocumentPane

$
0
0
Hi,

You can use the DockingManager.DocumentPaneControlStyle property.
<ResourceDictionary>
         <ResourceDictionary.MergedDictionaries>
            <ResourceDictionary Source="/Xceed.Wpf.AvalonDock;component/Themes/generic.xaml" />
         </ResourceDictionary.MergedDictionaries>

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

<xcad:DockingManager DocumentPaneControlStyle="{StaticResource MyDocumentPaneControlStyle}">
....
</xcad:DockingManager>

Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>