Edit

Kongsi melalui


FrameworkElement.GetFlowDirection(DependencyObject) Method

Definition

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

public:
 static System::Windows::FlowDirection GetFlowDirection(System::Windows::DependencyObject ^ element);
public static System.Windows.FlowDirection GetFlowDirection (System.Windows.DependencyObject element);
static member GetFlowDirection : System.Windows.DependencyObject -> System.Windows.FlowDirection
Public Shared Function GetFlowDirection (element As DependencyObject) As FlowDirection

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

See also