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

属性值

面板的边框粗细,作为 “粗细” 值。

适用于