Dela via


ItemsStackPanel.Orientation Property

Definition

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

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

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

Applies to