Hi, quick question, what's the easiest way to change the yellow colour of the docking guides in the new docking framework?
Hi, quick question, what's the easiest way to change the yellow colour of the docking guides in the new docking framework?
Hi Gareth,
These are the brush resources used in the Docking/MDI 2016.1 dock guides:
<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.DockGuideBackgroundBrushKey}" themes:TintGroup.Name="DockGuide"
Color="#A0FFFFFF" />
<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.DockGuideBorderBrushKey}" themes:TintGroup.Name="DockGuide"
Color="#FF636871" />
<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.DockGuideGlyphBackgroundBrushKey}" themes:TintGroup.Name="DockGuide"
Color="#FFE9EDF2" />
<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.DockGuideGlyphBorderBrushKey}" themes:TintGroup.Name="DockGuide"
Color="#FF445879" />
<SolidColorBrush PresentationOptions:Freeze="True" x:Key="{x:Static themes:AssetResourceKeys.DockGuideGlyphForegroundBrushKey}" themes:TintGroup.Name="DockGuide"
Color="#FFFAD78D" />
The above is the default for Metro Light and might be different for other themes. You can clone/alter those in your Application.Resources to change them.
Brilliant, thanks.
Please log in to a validated account to post comments.