Gets or sets a brush that describes the border background of a control.
Syntax
<control> <control.BorderBrush> singleBrush </control.BorderBrush> </control>
<control BorderBrush="colorString"/>
XAML Values
- singleBrush
-
Within opening and closing property elements for object.BorderBrush, exactly one object element for an object that derives from Brush. The object element is typically one of these classes: LinearGradientBrush, ImageBrush, SolidColorBrush.
- colorString
-
The Color for a SolidColorBrush, expressed as an attribute string. This can be a named color, an RGB value, or an ScRGB value. RGB or ScRGB may also specify alpha information. See Color.
Property value
Type: Brush
The brush that is used to fill the control's border; the default is null.
Remarks
Each control might apply this property differently based on its visual template. This property only affects a control whose template uses the BorderBrush property as a parameter. On other controls, this property has no effect. For more info about visual templates, see the Template property.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 3/12/2013