Theme not applying

Docking/MDI for WPF Forum

Posted 8 months ago by Emir Dizdarevic
Version: 19.1.0684
Platform: .NET 4.8
Environment: Windows 10 (32-bit)
Avatar

Hello

I used the docking library for a while now, and in the previous version this worked very good (v17.1.0651). Now I am trying to upgrade the library to the latest version, and my theme doesn't get applied. 

What I have done is added this resources to my application: 

 <Thickness x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonBorderNormalThicknessKey}">1</Thickness>
    <Thickness x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonInnerBorderNormalThicknessKey}">1</Thickness>

    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarBackgroundActiveBrushKey}" Color="{DynamicResource TabBackgroundColor}" />

    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarBackgroundInactiveBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarInnerBorderActiveBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarForegroundInactiveBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowBorderActiveBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
    <CornerRadius x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonBorderNormalCornerRadiusKey}">3,3,3,3</CornerRadius>
    <CornerRadius x:Key="{x:Static themes:AssetResourceKeys.WindowControlBorderNormalCornerRadiusKey}">3,3,3,3</CornerRadius>

    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateBorderActivePressedBrushKey}" Color="{DynamicResource Col-118}" />
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateBorderInactiveDisabledBrushKey}" Color="{DynamicResource Col-118}" />
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateBorderActiveNormalBrushKey}" Color="{DynamicResource Col-96}" />
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateBorderInactiveNormalBrushKey}" Color="{DynamicResource Col-96}" />
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateBorderActiveDisabledBrushKey}" Color="{DynamicResource Col-96}" />
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateBorderActiveHoverBrushKey}" Color="{DynamicResource Col-142}" />
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonHighlightActivePressedBrushKey}" Color="{DynamicResource TabBackgroundColor}" />

    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonForegroundActivePressedBrushKey}" Color="{DynamicResource Col-142}" />

    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonBorderInactiveNormalBrushKey}" Color="{DynamicResource Col-96}" />
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonBorderActiveHoverBrushKey}" Color="{DynamicResource Col-142}" />
    <!--maximize knappen når man hoverer over-->
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonBorderActiveNormalBrushKey}" Color="{DynamicResource Col-96}" />

    <!--maximize knappenb border farge-->
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateInnerBorderActiveNormalBrushKey}" Color="{DynamicResource Col-96}" />
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateInnerBorderActiveHoverBrushKey}" Color="{DynamicResource Col-142}" />
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateInnerBorderActiveDisabledBrushKey}" Color="{DynamicResource Col-96}" />
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateInnerBorderInactiveDisabledBrushKey}" Color="{DynamicResource Col-96}" />
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateInnerBorderInactiveNormalBrushKey}" Color="{DynamicResource Col-96}" />
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateInnerBorderActivePressedBrushKey}" Color="{DynamicResource Col-118}" />



    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonBackgroundActivePressedBrushKey}" Color="{DynamicResource Col-118}" />
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonBackgroundActiveHoverBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateHighlightActiveHoverBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonHighlightActiveHoverBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonForegroundActiveHoverBrushKey}" Color="{DynamicResource Col-255}" />
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateBackgroundActiveHoverBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateBackgroundActiveDisabledBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateBackgroundActivePressedBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateBackgroundInactiveDisabledBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateForegroundActiveDisabledBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateForegroundActiveHoverBrushKey}" Color="{DynamicResource Col-255}" />

    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonInnerBorderActivePressedBrushKey}" Color="{DynamicResource Col-118}" />

    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonBorderActivePressedBrushKey}" Color="{DynamicResource Col-118}" />

    <SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarInnerBorderInactiveBrushKey}" Color="{DynamicResource TabBackgroundColor}" />


    <system:Boolean x:Key="{x:Static themes:AssetResourceKeys.WindowHasOuterGlowBooleanKey}">True</system:Boolean>
    <system:Double x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemSpacingNormalDoubleKey}">-1</system:Double>
    <system:Double x:Key="{x:Static themes:AssetResourceKeys.ToolWindowContainerTabItemSpacingNormalDoubleKey}">-1</system:Double>
    <shared:ElementChromeBorderStyle x:Key="{x:Static themes:AssetResourceKeys.StandardMdiElementChromeBorderStyleKey}">None</shared:ElementChromeBorderStyle>
    <CornerRadius x:Key="{x:Static themes:AssetResourceKeys.AutoHideTabItemBorderNormalCornerRadiusKey}">3,3,0,0</CornerRadius>
    <CornerRadius x:Key="{x:Static themes:AssetResourceKeys.DockingWindowContainerTitleBarBorderNormalCornerRadiusKey}">2</CornerRadius>
    <CornerRadius x:Key="{x:Static themes:AssetResourceKeys.RaftingWindowBorderNormalCornerRadiusKey}">2</CornerRadius>
    <CornerRadius x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabControlBorderHighlightedCornerRadiusKey}">3</CornerRadius>
    <CornerRadius x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemBorderNormalCornerRadiusKey}">3,3,0,0</CornerRadius>
    <CornerRadius x:Key="{x:Static themes:AssetResourceKeys.ToolWindowContainerTabItemBorderNormalCornerRadiusKey}">3,3,0,0</CornerRadius>
    <CornerRadius x:Key="{x:Static themes:AssetResourceKeys.WindowBorderNormalCornerRadiusKey}">2</CornerRadius>
    <!--<system:String x:Key="{x:Static themes:AssetResourceKeys.ThemeNameStringKey}">MetroDark</system:String>-->
    <Thickness x:Key="{x:Static themes:AssetResourceKeys.AutoHideTabItemMarginNormalThicknessKey}">0,0,-1,0</Thickness>
    <Thickness x:Key="{x:Static themes:AssetResourceKeys.StandardMdiBorderNormalThicknessKey}">0</Thickness>
    <Thickness x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabControlBorderNormalThicknessKey}">1</Thickness>
    <Thickness x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabControlHeaderBottomMarginNormalThicknessKey}">4,-1,4,0</Thickness>
    <Thickness x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabControlHeaderTopMarginNormalThicknessKey}">4,0,4,-1</Thickness>
    <Thickness x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabControlPaddingNormalThicknessKey}">1</Thickness>
    <Thickness x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemBorderNormalThicknessKey}">1</Thickness>
    <Thickness x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemBottomMarginNormalThicknessKey}">0,1</Thickness>
    <Thickness x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemTopMarginNormalThicknessKey}">0,1</Thickness>
    <Thickness x:Key="{x:Static themes:AssetResourceKeys.ToolWindowContainerTabControlBorderNormalThicknessKey}">1</Thickness>
    <Thickness x:Key="{x:Static themes:AssetResourceKeys.ToolWindowContainerTabControlHeaderBottomMarginNormalThicknessKey}">0,0,0,0</Thickness>
    <Thickness x:Key="{x:Static themes:AssetResourceKeys.ToolWindowContainerTabControlHeaderTopMarginNormalThicknessKey}">0,0,0,2</Thickness>
    <Thickness x:Key="{x:Static themes:AssetResourceKeys.ToolWindowContainerTabItemBottomMarginNormalThicknessKey}">0,0</Thickness>
    <Thickness x:Key="{x:Static themes:AssetResourceKeys.ToolWindowContainerTabItemTopMarginNormalThicknessKey}">0,0</Thickness>
    <Thickness x:Key="{x:Static themes:AssetResourceKeys.WindowResizeBorderNormalThicknessKey}">1</Thickness>



    <!-- 
	
	BRUSHES
	
	-->

    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.AutoHideTabControlBackgroundNormalBrushKey}" themes:TintGroup.Name="AutoHideTabControl" 
                     Color="#00FFFFFF" />
    <LinearGradientBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.AutoHideTabItemBackgroundHoverBrushKey}" themes:TintGroup.Name="AutoHideTabItem" 
                         StartPoint="0,0" EndPoint="0,1">
        <LinearGradientBrush.GradientStops>
            <GradientStop Color="#FFFAFDFE" Offset="0" />
            <GradientStop Color="#FFEAF6FD" Offset="0.05" />
            <GradientStop Color="#FFD9F0FC" Offset="0.5" />
            <GradientStop Color="#FFBEE6FD" Offset="0.51" />
            <GradientStop Color="#FFA7D9F5" Offset="1" />
        </LinearGradientBrush.GradientStops>
    </LinearGradientBrush>
    <LinearGradientBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.AutoHideTabItemBackgroundNormalBrushKey}" themes:TintGroup.Name="AutoHideTabItem" 
                         StartPoint="0,0" EndPoint="0,1">
        <LinearGradientBrush.GradientStops>
            <GradientStop Color="#FFF5F6FA" Offset="0" />
            <GradientStop Color="#FFEEF2F6" Offset="0.5" />
            <GradientStop Color="#FFE3E8F1" Offset="0.5" />
            <GradientStop Color="#FFD7DEEB" Offset="1" />
        </LinearGradientBrush.GradientStops>
    </LinearGradientBrush>-->
    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.AutoHideTabItemBorderHoverBrushKey}" themes:TintGroup.Name="AutoHideTabItem" 
                     Color="#FF8798AE" />
    <SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.AutoHideTabItemBorderNormalBrushKey}" themes:TintGroup.Name="AutoHideTabItem" 
                     Color="#FF8798AE" />
    <SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.AutoHideTabItemForegroundHoverBrushKey}" themes:TintGroup.Name="AutoHideTabItem" 
                     Color="#FF555564" />
    <SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.AutoHideTabItemForegroundNormalBrushKey}" themes:TintGroup.Name="AutoHideTabItem" 
                     Color="#FF555564" />-->

    <!--ToolWindowContainer background-->
    <SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.DockingWindowContainerBackgroundNormalBrushKey}" themes:TintGroup.Name="DockingWindowContainer" 
                     Color="{DynamicResource ToolWindowBackgroundColor}" />

    <!--ToolWindow titlebar focus colors-->
    <LinearGradientBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.DockingWindowContainerTitleBarBackgroundActiveBrushKey}" themes:TintGroup.Name="DockingWindowContainerTitleBar" 
                         StartPoint="0,0" EndPoint="0,1">
        <LinearGradientBrush.GradientStops>
            <GradientStop Color="{DynamicResource ComboBoxHighlightBackground}" Offset="0.08" />
            <GradientStop Color="{DynamicResource ComboBoxHighlightBackground}" Offset="1" />
        </LinearGradientBrush.GradientStops>
    </LinearGradientBrush>
    <!--Toolwindow titlebar without focus-->
    <LinearGradientBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.DockingWindowContainerTitleBarBackgroundInactiveBrushKey}" themes:TintGroup.Name="DockingWindowContainerTitleBar" 
                         StartPoint="0,0" EndPoint="0,1">
        <LinearGradientBrush.GradientStops>
            <GradientStop Color="{DynamicResource TabBackgroundColor}" Offset="0.08" />
            <GradientStop Color="{DynamicResource TabBackgroundColor}" Offset="1" />
        </LinearGradientBrush.GradientStops>
    </LinearGradientBrush>

    <!--Text color on titlebar focus-->
    <SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.DockingWindowContainerTitleBarForegroundActiveBrushKey}" themes:TintGroup.Name="DockingWindowContainerTitleBar" 
                     Color="{DynamicResource ComboBoxHighlightText}" />
    <!--Textcolor on titlebar without focus-->
    <SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.DockingWindowContainerTitleBarForegroundInactiveBrushKey}" themes:TintGroup.Name="DockingWindowContainerTitleBar" 
                     Color="{DynamicResource ComboBoxHighlightText}" />
    <!--Color on icons when active/focus-->
    <SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.DockingWindowContainerTitleBarGlyphBackgroundActiveBrushKey}" themes:TintGroup.Name="DockingWindowContainerTitleBar" 
                     Color="{DynamicResource ComboBoxHighlightText}" />
    <!--Color on icons when Inactive no focus-->
    <SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.DockingWindowContainerTitleBarGlyphBackgroundInactiveBrushKey}" themes:TintGroup.Name="DockingWindowContainerTitleBar" 
                     Color="{DynamicResource ComboBoxHighlightText}" />
    <!--Color when trying to dock position-->
    <SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.DockingWindowPreviewBackgroundNormalBrushKey}" themes:TintGroup.Name="DockingWindowPreview" 
                     Color="{DynamicResource ComboBoxHighlightText}" />

    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.RaftingWindowBorderActiveBrushKey}" themes:TintGroup.Name="RaftingWindow" 
                     Color="HotPink" />
    <SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.RaftingWindowBorderInactiveBrushKey}" themes:TintGroup.Name="RaftingWindow" 
                     Color="Blue" />-->

    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabControlBackgroundActiveFocusedBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabControlState" 
                     Color="GreenYellow" />
    <SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabControlBackgroundActiveNormalBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabControl" 
                     Color="Firebrick" />-->
    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabControlBackgroundInactiveNormalBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabControl" 
                     Color="HotPink" />
    <SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabControlForegroundNormalBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabControl" 
                     Color="Blue" />-->
    <!--<LinearGradientBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemBackgroundActiveFocusedBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItemState" 
                         StartPoint="0,0" EndPoint="0,1">
        <LinearGradientBrush.GradientStops>
            <GradientStop Color="Green" Offset="0" />
            <GradientStop Color="Blue" Offset="0.3" />
            <GradientStop Color="White" Offset="0.9" />
        </LinearGradientBrush.GradientStops>
    </LinearGradientBrush>-->
    <!--<LinearGradientBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemBackgroundActiveSelectedBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItem" 
                         StartPoint="0,0" EndPoint="0,1">
        <LinearGradientBrush.GradientStops>
            <GradientStop Color="Green" Offset="0" />
            <GradientStop Color="Blue" Offset="0.3" />
            <GradientStop Color="White" Offset="0.9" />
        </LinearGradientBrush.GradientStops>
    </LinearGradientBrush>-->
    <!--<LinearGradientBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemBackgroundHoverBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItem" 
                         StartPoint="0,0" EndPoint="0,1">
        <LinearGradientBrush.GradientStops>
            <GradientStop Color="Green" Offset="0" />
            <GradientStop Color="Blue" Offset="0.3" />
            <GradientStop Color="White" Offset="0.9" />
        </LinearGradientBrush.GradientStops>
    </LinearGradientBrush>-->
    <!--<LinearGradientBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemBackgroundInactiveSelectedBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItem" 
                         StartPoint="0,0" EndPoint="0,1">
        <LinearGradientBrush.GradientStops>
            <GradientStop Color="Green" Offset="0" />
            <GradientStop Color="Blue" Offset="0.3" />
            <GradientStop Color="White" Offset="0.9" />
        </LinearGradientBrush.GradientStops>
    </LinearGradientBrush>-->
    <!--<LinearGradientBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemBackgroundNormalBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItem" 
                         StartPoint="0,0" EndPoint="0,1">
        <LinearGradientBrush.GradientStops>
            <GradientStop Color="Green" Offset="0" />
            <GradientStop Color="Blue" Offset="0.3" />
            <GradientStop Color="White" Offset="0.9" />
        </LinearGradientBrush.GradientStops>
    </LinearGradientBrush>-->
    <!--<LinearGradientBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemBackgroundPreviewActiveFocusedBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItemState" 
                         StartPoint="0,0" EndPoint="0,1">
        <LinearGradientBrush.GradientStops>
            <GradientStop Color="Green" Offset="0" />
            <GradientStop Color="Blue" Offset="0.3" />
            <GradientStop Color="White" Offset="0.9" />
        </LinearGradientBrush.GradientStops>
    </LinearGradientBrush>-->
    <!--<LinearGradientBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemBackgroundPreviewBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItem" 
                         StartPoint="0,0" EndPoint="0,1">
        <LinearGradientBrush.GradientStops>
            <GradientStop Color="Green" Offset="0" />
            <GradientStop Color="Blue" Offset="0.3" />
            <GradientStop Color="White" Offset="0.9" />
        </LinearGradientBrush.GradientStops>
    </LinearGradientBrush>-->
    <!--<LinearGradientBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemBackgroundPreviewHoverBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItem" 
                         StartPoint="0,0" EndPoint="0,1">
        <LinearGradientBrush.GradientStops>
            <GradientStop Color="Green" Offset="0" />
            <GradientStop Color="Blue" Offset="0.3" />
            <GradientStop Color="White" Offset="0.9" />
        </LinearGradientBrush.GradientStops>
    </LinearGradientBrush>-->
    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemBorderActiveFocusedBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItemState" 
                     Color="PaleGoldenrod" />-->
    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemBorderActiveSelectedBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItem" 
                     Color="PaleGreen" />-->
    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemBorderHoverBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItem" 
                     Color="Sienna" />-->
    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemBorderInactiveSelectedBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItem" 
                     Color="ForestGreen" />-->
    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemBorderNormalBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItem" 
                     Color="MediumVioletRed" />-->
    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemBorderPreviewActiveFocusedBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItemState" 
                     Color="ForestGreen" />-->
    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemBorderPreviewBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItem" 
                     Color="Violet" />-->
    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemBorderPreviewHoverBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItem" 
                     Color="Red" />-->
    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemForegroundActiveFocusedBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItem" 
                     Color="Indigo" />-->
    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemForegroundActiveSelectedBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItem" 
                     Color="LightCoral" />-->
    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemForegroundDisabledBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItem" 
                     Color="DarkCyan" />-->
    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemForegroundHoverBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItem" 
                     Color="Salmon" />-->
    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemForegroundInactiveSelectedBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItem" 
                     Color="LightGreen" />-->
    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemForegroundNormalBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItem" 
                     Color="LightGreen" />-->
    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemForegroundPreviewActiveFocusedBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItem" 
                     Color="LightGreen" />-->
    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemForegroundPreviewBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItem" 
                     Color="LightGreen" />-->
    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemForegroundPreviewHoverBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItem" 
                     Color="LightCoral" />-->
    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemGlyphBackgroundActiveFocusedBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItem" 
                     Color="LightGreen" />-->
    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemGlyphBackgroundActiveSelectedBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItem" 
                     Color="LightGreen" />-->
    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemGlyphBackgroundHoverBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItem" 
                     Color="LightGreen" />-->
    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemGlyphBackgroundInactiveSelectedBrushKey}" themes:TintGroup.Name="TabbedMdiContainerTabItem" 
                     Color="LightGreen" />-->
    <!--<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.ToolWindowContainerTabControlForegroundNormalBrushKey}" themes:TintGroup.Name="ToolWindowContainerTabItem" 
                     Color="LightGreen" />-->
    <LinearGradientBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.ToolWindowContainerTabItemBackgroundHoverBrushKey}" themes:TintGroup.Name="ToolWindowContainerTabItem" 
                         StartPoint="0,0" EndPoint="0,1">
        <LinearGradientBrush.GradientStops>
            <GradientStop Color="{DynamicResource TabBackgroundColor}" Offset="0"/>
            <GradientStop Color="{DynamicResource TabBackgroundColor}" Offset="1"/>
        </LinearGradientBrush.GradientStops>
    </LinearGradientBrush>
    <LinearGradientBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.ToolWindowContainerTabItemBackgroundNormalBrushKey}" themes:TintGroup.Name="ToolWindowContainerTabItem" 
                         StartPoint="0,0" EndPoint="0,1">
        <LinearGradientBrush.GradientStops>
            <GradientStop Color="{DynamicResource TabBackgroundColor}" Offset="0"/>
            <GradientStop Color="{DynamicResource TabBackgroundColor}" Offset="1"/>
        </LinearGradientBrush.GradientStops>
    </LinearGradientBrush>
    <SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.ToolWindowContainerTabItemBackgroundSelectedBrushKey}" themes:TintGroup.Name="ToolWindowContainerTabItem" 
                     Color="{DynamicResource Col-31}" />
    <SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.ToolWindowContainerTabItemBorderHoverBrushKey}" themes:TintGroup.Name="ToolWindowContainerTabItem" 
                     Color="Black" />
    <SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.ToolWindowContainerTabItemBorderNormalBrushKey}" themes:TintGroup.Name="ToolWindowContainerTabItem" 
                     Color="Black" />

    <SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.ToolWindowContainerTabItemBorderSelectedBrushKey}" themes:TintGroup.Name="ToolWindowContainerTabItem" 
                     Color="Black" />

    <SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.ToolWindowContainerTabItemForegroundHoverBrushKey}" themes:TintGroup.Name="ToolWindowContainerTabItem" 
                     Color="Black" />
    <SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.ToolWindowContainerTabItemForegroundNormalBrushKey}" themes:TintGroup.Name="ToolWindowContainerTabItem" 
                     Color="Black" />
    <SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.ToolWindowContainerTabItemForegroundSelectedBrushKey}" themes:TintGroup.Name="ToolWindowContainerTabItem" 
                     Color="Black" />
    <!-- <SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.WorkspaceToolBarTrayHorizontalBackgroundNormalBrushKey}" themes:TintGroup.Name="WorkspaceToolBarTray" 
                     Color="Fuchsia" />
    <LinearGradientBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.WorkspaceToolBarTrayHorizontalBorderNormalBrushKey}" themes:TintGroup.Name="WorkspaceToolBarTray" 
                         StartPoint="0,0" EndPoint="0,1">
        <LinearGradientBrush.GradientStops>
            <GradientStop Color="Fuchsia" Offset="0" />
            <GradientStop Color="Fuchsia" Offset="1" />
        </LinearGradientBrush.GradientStops>
    </LinearGradientBrush>
    <RadialGradientBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.WorkspaceToolBarTrayRoundBackgroundNormalBrushKey}" themes:TintGroup.Name="WorkspaceToolBarTray" 
                         RadiusX="0.5" RadiusY="0.5" Center="0.5,0.5" GradientOrigin="0.5,0.5">
        <RadialGradientBrush.GradientStops>
            <GradientStop Color="Fuchsia" Offset="0.84" />
            <GradientStop Color="Fuchsia" Offset="0.91" />
            <GradientStop Color="Fuchsia" Offset="1" />
        </RadialGradientBrush.GradientStops>
    </RadialGradientBrush>
    <LinearGradientBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.WorkspaceToolBarTrayRoundBorderNormalBrushKey}" themes:TintGroup.Name="WorkspaceToolBarTray" 
                         StartPoint="0,0" EndPoint="1,1">
        <LinearGradientBrush.GradientStops>
            <GradientStop Color="Fuchsia" Offset="0" />
            <GradientStop Color="Fuchsia" Offset="1" />
        </LinearGradientBrush.GradientStops>
    </LinearGradientBrush>
    <SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.WorkspaceToolBarTrayVerticalBackgroundNormalBrushKey}" themes:TintGroup.Name="WorkspaceToolBarTray" 
                     Color="Fuchsia" />
    <LinearGradientBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.WorkspaceToolBarTrayVerticalBorderNormalBrushKey}" themes:TintGroup.Name="WorkspaceToolBarTray" 
                         StartPoint="0,0" EndPoint="1,0">
        <LinearGradientBrush.GradientStops>
            <GradientStop Color="Fuchsia" Offset="0" />
            <GradientStop Color="Fuchsia" Offset="1" />
        </LinearGradientBrush.GradientStops>
    </LinearGradientBrush>-->

    <!--Docking docksite background color-->
    <SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.WorkspaceVeryDarkBackgroundNormalBrushKey}" themes:TintGroup.Name="Workspace" 
                     Color="{DynamicResource DockingViewBackgroundColor}" />
    <SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.WorkspaceVeryDarkForegroundNormalBrushKey}" themes:TintGroup.Name="Workspace" 
                     Color="{DynamicResource DockingViewBackgroundColor}" />

and  :

    <Style TargetType="docking:ToolWindowContainer">
        <Setter Property="TitleFontFamily" Value="{DynamicResource Font-1}" />
        <Setter Property="TitleFontSize" Value="16" />
        <Setter Property="TitleFontWeight" Value="Normal" />

        <Setter Property="EmbeddedButtonStyle">
            <Setter.Value>
                <Style TargetType="{x:Type ButtonBase}">
                    <Setter Property="themes:ThemeProperties.CornerRadius" Value="3"/>
                    <Style.BasedOn>
                        <Style TargetType="{x:Type ButtonBase}">
                            <Setter Property="Padding" Value="2"/>
                            <Setter Property="Template">
                                <Setter.Value>
                                    <ControlTemplate TargetType="{x:Type ButtonBase}" >
                                        <Border x:Name="outerBorder" BorderBrush="{DynamicResource ButtonFrame}" BorderThickness="1" Background="{DynamicResource ButtonBackground}" CornerRadius="2" SnapsToDevicePixels="True">
                                            <Grid>
                                                <Border x:Name="innerBorder" BorderBrush="{DynamicResource ButtonBackground}" BorderThickness="1" CornerRadius="2" SnapsToDevicePixels="True"/>
                                                <shared:PixelSnapper VerticalRoundMode="CeilingToEven">
                                                    <ContentPresenter x:Name="presenter" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="2" Opacity="1" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                                </shared:PixelSnapper>
                                            </Grid>
                                        </Border>
                                        <ControlTemplate.Triggers>
                                            <Trigger Property="ToggleButton.IsChecked" Value="True">
                                                <Setter Property="Background" TargetName="outerBorder" Value="{DynamicResource ButtonBackgroundMouseOver}"/>
                                                <Setter Property="BorderBrush" TargetName="outerBorder" Value="{DynamicResource ButtonFrameMouseOver}"/>
                                                <Setter Property="BorderBrush" TargetName="innerBorder" Value="{DynamicResource ButtonFrameMouseOver}"/>
                                                <Setter Property="TextElement.Foreground" TargetName="presenter" Value="{DynamicResource ButtonTextDisabled}"/>
                                            </Trigger>
                                            <Trigger Property="IsMouseOver" Value="True">
                                                <Setter Property="Background" TargetName="outerBorder" Value="{DynamicResource ButtonBackgroundMouseOver}"/>
                                                <Setter Property="BorderBrush" TargetName="outerBorder" Value="{DynamicResource ButtonFrameMouseOver}"/>
                                                <Setter Property="BorderBrush" TargetName="innerBorder" Value="{DynamicResource ButtonFrameMouseOver}"/>
                                                <Setter Property="TextElement.Foreground" TargetName="presenter" Value="{DynamicResource ButtonTextMouseOver}"/>
                                                <Setter Property="Opacity" TargetName="presenter" Value="1"/>
                                            </Trigger>
                                            <Trigger Property="IsKeyboardFocused" Value="True">
                                                <Setter Property="Background" TargetName="outerBorder" Value="{DynamicResource ButtonBackgroundMouseOver}"/>
                                                <Setter Property="BorderBrush" TargetName="outerBorder" Value="{DynamicResource ButtonFrameMouseOver}"/>
                                                <Setter Property="BorderBrush" TargetName="innerBorder" Value="{DynamicResource ButtonFrameMouseOver}"/>
                                                <Setter Property="TextElement.Foreground" TargetName="presenter" Value="{DynamicResource ButtonTextMouseOver}"/>
                                                <Setter Property="Opacity" TargetName="presenter" Value="0.2"/>
                                            </Trigger>
                                            <MultiTrigger>
                                                <MultiTrigger.Conditions>
                                                    <Condition Property="IsMouseOver" Value="True"/>
                                                    <Condition Property="ToggleButton.IsChecked" Value="True"/>
                                                </MultiTrigger.Conditions>
                                                <Setter Property="Background" TargetName="outerBorder" Value="{DynamicResource ButtonBackgroundMouseOver}"/>
                                                <Setter Property="BorderBrush" TargetName="outerBorder" Value="{DynamicResource ButtonFrameMouseOver}"/>
                                                <Setter Property="BorderBrush" TargetName="innerBorder" Value="{DynamicResource ButtonFrameMouseOver}"/>
                                                <Setter Property="TextElement.Foreground" TargetName="presenter" Value="{DynamicResource ButtonTextMouseOver}"/>
                                                <Setter Property="Opacity" TargetName="presenter" Value="0.2"/>
                                            </MultiTrigger>
                                            <MultiTrigger>
                                                <MultiTrigger.Conditions>
                                                    <Condition Property="IsKeyboardFocused" Value="True"/>
                                                    <Condition Property="ToggleButton.IsChecked" Value="True"/>
                                                </MultiTrigger.Conditions>
                                                <Setter Property="Background" TargetName="outerBorder" Value="{DynamicResource ButtonBackgroundMouseOver}"/>
                                                <Setter Property="BorderBrush" TargetName="outerBorder" Value="{DynamicResource ButtonFrameMouseOver}"/>
                                                <Setter Property="BorderBrush" TargetName="innerBorder" Value="{DynamicResource ButtonFrameMouseOver}"/>
                                                <Setter Property="TextElement.Foreground" TargetName="presenter" Value="{DynamicResource ButtonTextMouseOver}"/>
                                                <Setter Property="Opacity" TargetName="presenter" Value="0.8"/>
                                            </MultiTrigger>
                                            <Trigger Property="IsPressed" Value="True">
                                                <Setter Property="Background" TargetName="outerBorder" Value="{DynamicResource ButtonBackgroundMouseOver}"/>
                                                <Setter Property="BorderBrush" TargetName="outerBorder" Value="{DynamicResource ButtonFramePressed}"/>
                                                <Setter Property="BorderBrush" TargetName="innerBorder" Value="{DynamicResource ButtonFramePressed}"/>
                                                <Setter Property="TextElement.Foreground" TargetName="presenter" Value="{DynamicResource ButtonText}"/>
                                                <Setter Property="Opacity" TargetName="presenter" Value="1"/>
                                            </Trigger>
                                            <Trigger Property="IsEnabled" Value="False">
                                                <Setter Property="TextElement.Foreground" TargetName="presenter" Value="{DynamicResource ButtonTextDisabled}"/>
                                                <Setter Property="Opacity" TargetName="presenter" Value="1"/>
                                            </Trigger>
                                        </ControlTemplate.Triggers>
                                    </ControlTemplate>
                                </Setter.Value>
                            </Setter>
                            <Style.BasedOn>
                                <Style TargetType="{x:Type ButtonBase}">
                                    <Setter Property="OverridesDefaultStyle" Value="True"/>
                                    <Style.BasedOn>
                                        <Style TargetType="{x:Type ButtonBase}">
                                            <Setter Property="Background" Value="Transparent"/>
                                            <Setter Property="BorderBrush" Value="Transparent"/>
                                            <Setter Property="BorderThickness" Value="2"/>
                                            <Setter Property="Padding" Value="0"/>
                                            <Setter Property="HorizontalAlignment" Value="Center"/>
                                            <Setter Property="VerticalAlignment" Value="Center"/>
                                            <Setter Property="HorizontalContentAlignment" Value="Center"/>
                                            <Setter Property="VerticalContentAlignment" Value="Center"/>
                                            <Setter Property="Focusable" Value="False"/>
                                            <Setter Property="IsTabStop" Value="False"/>
                                            <Setter Property="themes:ThemeProperties.DisabledOpacity" Value="0.4"/>
                                            <Setter Property="SnapsToDevicePixels" Value="True"/>
                                            <Setter Property="Template">
                                                <Setter.Value>
                                                    <ControlTemplate TargetType="{x:Type ButtonBase}">
                                                        <Border x:Name="outerBorder" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" CornerRadius="2" SnapsToDevicePixels="True">
                                                            <Grid>
                                                                <Border x:Name="innerBorder" BorderBrush="Green" BorderThickness="2" CornerRadius="2" SnapsToDevicePixels="True"/>
                                                                <shared:PixelSnapper VerticalRoundMode="CeilingToEven">
                                                                    <ContentPresenter x:Name="presenter" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                                                </shared:PixelSnapper>
                                                            </Grid>
                                                        </Border>
                                                        <ControlTemplate.Triggers>
                                                            <Trigger Property="ToggleButton.IsChecked" Value="True">
                                                                <Setter Property="Background" TargetName="outerBorder" Value="DarkBlue"/>
                                                                <Setter Property="BorderBrush" TargetName="outerBorder" Value="DarkBlue"/>
                                                                <Setter Property="BorderBrush" TargetName="innerBorder" Value="DarkBlue"/>
                                                                <Setter Property="TextElement.Foreground" TargetName="presenter" Value="DarkBlue"/>
                                                            </Trigger>
                                                            <Trigger Property="IsMouseOver" Value="True">
                                                                <Setter Property="Background" TargetName="outerBorder" Value="DarkBlue"/>
                                                                <Setter Property="BorderBrush" TargetName="outerBorder" Value="DarkBlue"/>
                                                                <Setter Property="BorderBrush" TargetName="innerBorder" Value="DarkBlue"/>
                                                                <Setter Property="TextElement.Foreground" TargetName="presenter" Value="DarkBlue"/>
                                                            </Trigger>
                                                            <Trigger Property="IsKeyboardFocused" Value="True">
                                                                <Setter Property="Background" TargetName="outerBorder" Value="DarkBlue"/>
                                                                <Setter Property="BorderBrush" TargetName="outerBorder" Value="DarkBlue"/>
                                                                <Setter Property="BorderBrush" TargetName="innerBorder" Value="DarkBlue"/>
                                                                <Setter Property="TextElement.Foreground" TargetName="presenter" Value="DarkBlue"/>
                                                            </Trigger>
                                                            <MultiTrigger>
                                                                <MultiTrigger.Conditions>
                                                                    <Condition Property="IsMouseOver" Value="True"/>
                                                                    <Condition Property="ToggleButton.IsChecked" Value="True"/>
                                                                </MultiTrigger.Conditions>
                                                                <Setter Property="Background" TargetName="outerBorder" Value="DarkBlue"/>
                                                                <Setter Property="BorderBrush" TargetName="outerBorder" Value="DarkBlue"/>
                                                                <Setter Property="BorderBrush" TargetName="innerBorder" Value="DarkBlue"/>
                                                                <Setter Property="TextElement.Foreground" TargetName="presenter" Value="DarkBlue"/>
                                                            </MultiTrigger>
                                                            <MultiTrigger>
                                                                <MultiTrigger.Conditions>
                                                                    <Condition Property="IsKeyboardFocused" Value="True"/>
                                                                    <Condition Property="ToggleButton.IsChecked" Value="True"/>
                                                                </MultiTrigger.Conditions>
                                                                <Setter Property="Background" TargetName="outerBorder" Value="DarkBlue"/>
                                                                <Setter Property="BorderBrush" TargetName="outerBorder" Value="DarkBlue"/>
                                                                <Setter Property="BorderBrush" TargetName="innerBorder" Value="DarkBlue"/>
                                                                <Setter Property="TextElement.Foreground" TargetName="presenter" Value="DarkBlue"/>
                                                            </MultiTrigger>
                                                            <Trigger Property="IsPressed" Value="True">
                                                                <Setter Property="Background" TargetName="outerBorder" Value="DarkBlue"/>
                                                                <Setter Property="BorderBrush" TargetName="outerBorder" Value="DarkBlue"/>
                                                                <Setter Property="BorderBrush" TargetName="innerBorder" Value="DarkBlue"/>
                                                                <Setter Property="TextElement.Foreground" TargetName="presenter" Value="DarkBlue"/>
                                                            </Trigger>
                                                            <Trigger Property="IsEnabled" Value="False">
                                                                <Setter Property="TextElement.Foreground" TargetName="presenter" Value="DarkBlue"/>
                                                                <Setter Property="Opacity" TargetName="presenter" Value="1"/>
                                                            </Trigger>
                                                        </ControlTemplate.Triggers>
                                                    </ControlTemplate>
                                                </Setter.Value>
                                            </Setter>
                                        </Style>
                                    </Style.BasedOn>
                                </Style>
                            </Style.BasedOn>
                        </Style>
                    </Style.BasedOn>
                </Style>
            </Setter.Value>
        </Setter>

    
      
        
    </Style>

This used to work just fine with the old version, but for the new version it falls back standard theme. Is this the correct way of theme docking library? Or do you recommenden another way?

Best Regards

Comments (1)

Posted 8 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

If you have the Style in the Application.Resources, it should get applied ok.  I just did a quick test of adding this to the Application.Resources and it seemed to work:

<Style TargetType="docking:ToolWindowContainer">
	<Setter Property="TitleFontSize" Value="32" />
</Style>

If you can't figure it out, please put together a new simple sample project that shows the issue and send that to our support address, referencing this thread in your e-mail.  Be sure to remove the bin/obj folders from the ZIP you send and rename the .zip file extension so it doesn't get spam blocked.  Thanks!


Actipro Software Support

The latest build of this product (v2019.1 build 0686) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.