FrameworkElement.GetFlowDirection Method

Gets the value of the FlowDirection attached property for the specified DependencyObject.

Namespace: System.Windows
Assembly: PresentationFramework (in presentationframework.dll)

public static FlowDirection GetFlowDirection (
	DependencyObject element
public static FlowDirection GetFlowDirection (
	DependencyObject element
public static function GetFlowDirection (
	element : DependencyObject
) : FlowDirection
You cannot use methods in XAML.



The element to return a FlowDirection for.

Return Value

The requested flow direction, as a value of the enumeration.

The main purpose of this method is to support attached property syntax for the FlowDirection property, therefore allowing child elements of a provided FrameworkElement to specify flow direction for the arrangement within their parent element. To get the value on the current FrameworkElement, use the direct common language runtime (CLR) accessor FlowDirection.

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.

.NET Framework

Supported in: 3.0

Community Additions