FlowDirection Enumeration
Assembly: PresentationCore (in presentationcore.dll)
XML Namespace: http://schemas.microsoft.com/winfx/2006/xaml/presentation
'Declaration <LocalizabilityAttribute(LocalizationCategory.None, Readability:=Readability.Unreadable)> _ Public Enumeration FlowDirection 'Usage Dim instance As FlowDirection
/** @attribute LocalizabilityAttribute(LocalizationCategory.None, Readability=Readability.Unreadable) */ public enum FlowDirection
LocalizabilityAttribute(LocalizationCategory.None, Readability=Readability.Unreadable) public enum FlowDirection
<object property="EnumerationValue" .../>
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).
<FlowDocument> <Paragraph FlowDirection="LeftToRight"> This paragraph will flow from left to right. </Paragraph> </FlowDocument>
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;
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.