Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.29 KB

variablesizedwrapgrid_orientation.md

File metadata and controls

43 lines (30 loc) · 1.29 KB
-api-id -api-type
P:Windows.UI.Xaml.Controls.VariableSizedWrapGrid.Orientation
winrt property

Windows.UI.Xaml.Controls.VariableSizedWrapGrid.Orientation

-description

Gets or sets the direction in which child elements are arranged.

-xaml-syntax

<VariableSizedWrapGrid Orientation="orientationMemberName" />

-property-value

A value of the enumeration. The default is Vertical.

-remarks

The Orientation property specifies whether the grid adds its items in rows or columns before wrapping.

When the value is Vertical, the grid adds items in columns from top to bottom, then wraps from left to right, like this:

Item 1Item 4Item 7
Item 2Item 5Item 8
Item 3Item 6Item 9

When the value is Horizontal, the grid adds items in rows from left to right, then wraps from top to bottom, like this:

Item 1Item 2Item 3
Item 4Item 5Item 6
Item 7Item 8Item 9

-examples

-see-also