Border::BorderBrush Property
.NET Framework (current version)
Gets or sets the Brush that draws the outer border color.
Assembly: PresentationFramework (in PresentationFramework.dll)
The following example shows how to set the value of the BorderBrush property by using Extensible Application Markup Language (XAML) and code.
<Border BorderBrush="SlateBlue" BorderThickness="5,10,15,20" Background="AliceBlue" Padding="5" CornerRadius="15">
.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: