Version

GetBorderBrush Method

Returns an extra brush that may be used for the BorderBrush.
Syntax
'Declaration
 
Public Shared Function GetBorderBrush( _
   ByVal d As DependencyObject _
) As Brush
public static Brush GetBorderBrush( 
   DependencyObject d
)

Parameters

d
Remarks

This attached property can be used for any purpose but was initially added to be used as the target of a local style trigger that would ultimately be referenced by a style setter. In this way, the triggered value would not override (based on the WPF dependency property precedence) the value of ControlTemplate triggers.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also