Gets or sets the Brush that is used to create the border.
Syntax
<Border> <Border.BorderBrush>singleBrush</Border.BorderBrush> </Border>
<Border BorderBrush="colorString"/>
XAML Values
- singleBrush
-
Within opening and closing property elements for Border.BorderBrush, exactly one object element for an object that derives from Brush. This is typically one of the following 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 the XAML Values section in Color.
Property value
Type: Brush
The brush that fills the border.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 3/12/2013