Border.BorderThickness 属性

定义

获取或设置边框的粗细。

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"/>

属性值

边框的粗细(以像素为单位)。 所有四侧的默认值为 0。

适用于

另请参阅