Delen via


Border.BorderThickness Property

Definition

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