FrameworkElement.SetFlowDirection Method (DependencyObject, FlowDirection)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public static void SetFlowDirection(
	DependencyObject element,
	FlowDirection value
)

Parameters

element
Type: System.Windows.DependencyObject

The element that specifies a flow direction.

value
Type: System.Windows.FlowDirection

A value of the enumeration, specifying the direction.

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.

.NET Framework
Available since 3.0
Return to top
Show: