FlowDirection Property
Collapse the table of content
Expand the table of content

Run.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 the Run element that controls their layout.

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

public FlowDirection FlowDirection { get; set; }
<Run FlowDirection="LeftToRight"/>
<Run FlowDirection="RightToLeft"/>

Property Value

Type: System.Windows.FlowDirection
The direction that text and other UI elements flow within the Run element. The default value is LeftToRight.

Dependency property identifier field: FlowDirectionProperty

This property is not automatically set as part of any application culture information. An element might contain content that is not necessarily intended to use the flow direction implied by the culture information.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

© 2018 Microsoft