Defines constants that specify the content flow direction for text and user interface (UI) elements.
[LocalizabilityAttribute(LocalizationCategory.None, Readability = Readability.Unreadable)]
public enum FlowDirection
<object property="enumerationMemberName" .../>
|LeftToRight||Indicates that content should flow from left to right.|
|RightToLeft||Indicates that content should flow from right to left.|
The flow direction of content typically corresponds to the innate flow direction of the language being represented. Hebrew and Arabic provide examples of languages that naturally flow from right-to-left. English, German, and Russian provide examples of languages that naturally flow from left-to-right.
The following example shows how to use the FlowDirection enumeration to set the FlowDirection attribute of a flow content Block element (Paragraph).
This paragraph will flow from left to right.
The following example shows how to use the FlowDirection enumeration programmatically.
Paragraph par = new Paragraph(new Run("This paragraph will flow from left to right."));
par.FlowDirection = FlowDirection.LeftToRight;
Supported in: 4.6, 4.5, 4, 3.5, 3.0
.NET Framework Client Profile
Supported in: 4, 3.5 SP1