Språk

FrameworkElement.GetFlowDirection(DependencyObject) Metod

Definition

Hämtar värdet för den FlowDirection anslutna egenskapen för den angivna 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

Parametrar

element
DependencyObject

Elementet som ska returneras för FlowDirection .

Returer

Den begärda flödesriktningen, som ett värde för uppräkningen.

Kommentarer

Det huvudsakliga syftet med den här metoden är att stödja kopplad egenskapssyntax för FlowDirection egenskapen, vilket gör att underordnade element i en angiven FrameworkElement kan ange flödesriktning för arrangemanget inom deras överordnade element. Om du vill hämta värdet för aktuell FrameworkElementanvänder du CLR-accessorn FlowDirection(Direct Common Language Runtime).

Gäller för

Se även