FrameworkElement.SetFlowDirection(DependencyObject, FlowDirection) Method

Definition

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

public:
 static void SetFlowDirection(System::Windows::DependencyObject ^ element, System::Windows::FlowDirection value);
public static void SetFlowDirection (System.Windows.DependencyObject element, System.Windows.FlowDirection value);
static member SetFlowDirection : System.Windows.DependencyObject * System.Windows.FlowDirection -> unit
Public Shared Sub SetFlowDirection (element As DependencyObject, value As FlowDirection)

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

See also