FrameworkElement.GetFlowDirection(DependencyObject) 方法
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得所指定 DependencyObject 的 FlowDirection 附加屬性值。
public:
static System::Windows::FlowDirection GetFlowDirection(System::Windows::DependencyObject ^ element);
C#
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
- element
- DependencyObject
要為其傳回 FlowDirection 的項目。
要求的流程方向,作為列舉值。
這個方法的主要用途是支援 屬性的附加屬性語法 FlowDirection ,因此允許提供的 FrameworkElement 子項目指定其父元素內的排列方向。 若要取得目前 FrameworkElement 的值,請使用直接 Common Language Runtime (CLR) 存取子 FlowDirection 。
產品 | 版本 |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |