FrameworkElement.SetFlowDirection Method (DependencyObject, FlowDirection)

 

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

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

Public Shared Sub SetFlowDirection (
	element As DependencyObject,
	value As FlowDirection
)

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: