Border.BorderBrush property

This topic has not yet been rated - Rate this topic

Gets or sets the Brush that is used to create the border.

Syntax


public Brush BorderBrush { get; set; }


<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

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

Border

 

 

Build date: 3/12/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.