ItemsStackPanel.Orientation Property

Definition

Gets or sets the dimension by which child elements are stacked.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.ItemsStackPanel.Orientation.

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

void Orientation(Orientation value);
public Orientation Orientation { get; set; }
var orientation = itemsStackPanel.orientation;
itemsStackPanel.orientation = orientation;
Public Property Orientation As Orientation
ItemsStackPanel Orientation="orientationMemberName" />

Property Value

Orientation

One of the enumeration values that specifies the orientation of child elements. The default is Vertical.

Applies to