Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Border.BorderThickness Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets or sets the thickness of the border.

public:
 property Thickness BorderThickness { Thickness get(); void set(Thickness value); };
Thickness BorderThickness();

void BorderThickness(Thickness value);
public Thickness BorderThickness { get; set; }
var thickness = border.borderThickness;
border.borderThickness = thickness;
Public Property BorderThickness As Thickness
<Border BorderThickness="uniform"/>
- or -
<Border BorderThickness="left&right,top&bottom"/>
- or -
<Border BorderThickness="left,top,right,bottom"/>

Property Value

The thickness of the border, in pixels. The default is 0 on all four sides.

Applies to

See also


Feedback

Was this page helpful?