Hello,
I've spent the last couple of hours trying to customize three simple things in the rafting window... with absolutely zero success :)
Here is a picture of what I would like to achieve:
1. The border color and thickness
2. The gradient used for the header
3. The height of the header itself
All of this should have 2 different settings, the first for when the window is focused, the second one for when it isn't.
As you notice from the screenshot I did manage to customize the buttons with the style below which I apply by overriding
protected override IRaftingWindow CreateRaftingWindow(RaftingHost raftingHost)
Style for colors:
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemGlyphBackgroundHoverBrushKey}" Color="#828282" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabItemGlyphBackgroundSelectedBrushKey}" Color="#404040" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.TabbedMdiContainerTabControlForegroundNormalBrushKey}" Color="#828282" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.ToolBarButtonForegroundNormalBrushKey}" Color="#404040" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.ToolBarButtonBackgroundHoverBrushKey}" Color="#DCDFE4" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.ToolBarButtonBorderHoverBrushKey}" Color="#BBBFC6" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.ToolBarButtonInnerBorderHoverBrushKey}" Color="#DEE2E7" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.ToolBarButtonBackgroundCheckedNormalBrushKey}" Color="#D2DFE4" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.ToolBarButtonBorderCheckedNormalBrushKey}" Color="#B8D1D8" /
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.ToolBarButtonInnerBorderCheckedNormalBrushKey}" Color="#D0EAF2" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.ToolBarButtonBackgroundPressedBrushKey}" Color="#D2DFE4" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.ToolBarButtonBorderPressedBrushKey}" Color="#B8D1D8" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.ToolBarButtonInnerBorderPressedBrushKey}" Color="#D0EAF2" />
Thanks!
Sam