Udostępnij za pośrednictwem


StackPanel.BorderThickness Property

Definition

Gets or sets the border thickness of the panel.

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

Property Value

The border thickness of the panel, as a Thickness value.

Applies to