FrameworkElement.SetFlowDirection(DependencyObject, FlowDirection) Method

Definition

Sets the value of the FlowDirection attached property for the provided element.

C#
public static void SetFlowDirection(System.Windows.DependencyObject element, System.Windows.FlowDirection value);

Parameters

element
DependencyObject

The element that specifies a flow direction.

value
FlowDirection

A value of the enumeration, specifying the direction.

Remarks

This method supports 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 set 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, 10

See also