Udostępnij za pośrednictwem


FlowDirection Enum

Definition

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

public enum class FlowDirection
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class FlowDirection
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum FlowDirection
Public Enum FlowDirection
<object property="enumMemberName"/>
 
Inheritance
FlowDirection
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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