Compartir a través de


FrameworkElement.FlowDirection Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
Public Property FlowDirection As FlowDirection
public FlowDirection FlowDirection { get; set; }
<frameworkElement FlowDirection="flowDirectionValue"/>

XAML Values

  • flowDirectionValue
    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.

Remarks

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.

Version Information

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.