Share via


FlowDirection Enum

Definition

Enumerates values that control the layout direction for views.

public enum class FlowDirection
public enum FlowDirection
type FlowDirection = 
Public Enum FlowDirection
Inheritance
FlowDirection

Fields

Name Value Description
MatchParent 0

Indicates that the view's layout direction will match the parent view's layout direction.

LeftToRight 1

Indicates that the view will be arranged left to right. This is the default when the view has no parent.

RightToLeft 2

Indicates that the view will be arranged right to left.

Remarks

The default value for an element without a parent is LeftToRight, even on platforms with right-to-left device defaults. To opt in to right-to-left layout, set the root element's FlowDirection property to RightToLeft, or use MatchParent to follow the device. All elements with a parent default to MatchParent.

Applies to