FlowDirection Property

FrameworkElement.FlowDirection Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the direction that text and other user interface elements flow within any parent element that controls their layout.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

public FlowDirection FlowDirection { get; set; }
<frameworkElement FlowDirection="flowDirectionValue"/>

XAML Values


A constant name from the FlowDirection enumeration, either LeftToRight or RightToLeft.

Property Value

Type: System.Windows.FlowDirection
The direction that text and other UI elements flow within their parent element, as a value of the enumeration. The default value is LeftToRight.

Dependency property identifier field: FlowDirectionProperty

This property is not automatically set as part of any application culture information, because an element might contain content that is not necessarily intended to obey the general flow direction implied by the culture information.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

© 2018 Microsoft