共用方式為


StackPanel.BorderThickness 屬性

定義

取得或設定面板的框線粗細。

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

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

屬性值

面板的框線粗細,做為 [粗細 ] 值。

適用於