Windows.UI.Xaml.Controls.StackPanel.Orientation
June 22, 2022 · View on GitHub
-description
Gets or sets the dimension by which child elements are stacked.
-xaml-syntax
<StackPanel Orientation="Horizontal"/>
-or-
<StackPanel Orientation="Vertical"/>
-property-value
One of the enumeration values that specifies the orientation of child elements. The default is Vertical.
-remarks
-examples
The following example creates a horizontal list of items by setting the Orientation property to Horizontal.
[!code-xamlLayoutOvwStackPanel_2]