IndexBasedLayoutOrientation Enum

Definition

Defines constants that specify whether there is a correlation between the items indices and how they are laid out.

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 327680)]
public enum IndexBasedLayoutOrientation
Inheritance
IndexBasedLayoutOrientation
Attributes

Fields

Name Value Description
None 0

There is no correlation between the layout of the items and their index numbers.

TopToBottom 1

The items are laid out vertically by increasing index number.

LeftToRight 2

The items are laid out horizontally by increasing index number.

Remarks

Values of this enumeration are used by the Layout.IndexBasedLayoutOrientation property and SetIndexBasedLayoutOrientation method.

Applies to

Product Versions
Windows App SDK 1.4, 1.5, 1.6

See also