FrameworkElement.GetFlowDirection(DependencyObject) Method

Definition

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

C#
public static System.Windows.FlowDirection GetFlowDirection(System.Windows.DependencyObject element);

Parameters

element
DependencyObject

The element to return a FlowDirection for.

Returns

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

Remarks

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.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

See also