Docking Guides

Docking/MDI for WPF Forum

Posted 8 years ago by Gareth Parris - Software Developer, McLaren
Version: 16.1.0631
Avatar

Hi, quick question, what's the easiest way to change the yellow colour of the docking guides in the new docking framework?

Comments (2)

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

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.


Actipro Software Support

Posted 8 years ago by Gareth Parris - Software Developer, McLaren
Avatar

Brilliant, thanks.

The latest build of this product (v24.1.2) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.