共用方式為


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,全部四邊皆為 0。

適用於

另請參閱