Share via


ItemsStackPanel.GroupPadding Property

Definition

Gets or sets the amount of space around a group.

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

void GroupPadding(Thickness value);
public Thickness GroupPadding { get; set; }
var thickness = itemsStackPanel.groupPadding;
itemsStackPanel.groupPadding = thickness;
Public Property GroupPadding As Thickness
<ItemsStackPanel GroupPadding="uniform"/>
- or -
<ItemsStackPanel GroupPadding="left&right,top&bottom"/>
- or -
<ItemsStackPanel GroupPadding="left,top,right,bottom"/>

Property Value

The amount of space around a group as a Thickness value. Thickness is a structure that stores dimension values using pixel measures. The default is a uniform Thickness of 0.

Applies to