Share via


FlowDirection Enum

Definition

Defines constants that specify the content flow direction for text and UI elements.

public enum class FlowDirection
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
enum class FlowDirection
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum FlowDirection
Public Enum FlowDirection
Inheritance
FlowDirection
Attributes

Fields

Name Value Description
LeftToRight 0

Indicates that content should flow from left to right.

RightToLeft 1

Indicates that content should flow from right to left.

Remarks

The FlowDirection enumeration is used as a value by the FrameworkElement.FlowDirection property. LeftToRight is the default value.

FrameworkElement.FlowDirection is interpreted differently for render purposes depending on which FrameworkElement subclass is involved as the content or as a container. For more info, see FrameworkElement.FlowDirection.

Applies to

See also