Hi,
In XAML, you can remove :
In XAML, you can remove :
<xcad:DockingManager DocumentPaneControlStyle="{StaticResource MyDocumentPaneControlStyle}">
and set it in code-behind :using( System.IO.FileStream fs = new System.IO.FileStream( fileName, System.IO.FileMode.Open ) )
{
dic = (ResourceDictionary)System.Windows.Markup.XamlReader.Load( fs );
Application.Current.Resources.MergedDictionaries.Add( dic );
_dockingManager.DocumentPaneControlStyle = Application.Current.Resources[ "MyDocumentPaneControlStyle" ] as Style;
}
This willcause a refresh of the DocumentPaneControlStyle.