مشاركة عبر


ItemsWrapGrid.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 = itemsWrapGrid.orientation;
itemsWrapGrid.orientation = orientation;
Public Property Orientation As Orientation
ItemsWrapGrid Orientation="orientationMemberName" />

Property Value

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

Remarks

Note

ItemsWrapGrid is the default ItemsPanel for GridView. For Universal Windows Platform (UWP) app on Windows 10, the default GridView template sets the Orientation to Horizontal.

Applies to