Share via


IndexBasedLayoutOrientation Enum

Definition

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

public enum class IndexBasedLayoutOrientation
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 327680)]
enum class IndexBasedLayoutOrientation
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 327680)]
public enum IndexBasedLayoutOrientation
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

See also