FrameworkElement.SetFlowDirection(DependencyObject, FlowDirection) 方法

定義

設定所提供項目的 FlowDirection 附加屬性值。

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)

參數

element
DependencyObject

指定流程方向的項目。

value
FlowDirection

指定方向的列舉值。

備註

這個方法支援 屬性的附加屬性語法 FlowDirection ,因此允許提供的 FrameworkElement 子專案指定其父元素內排列的流程方向。 若要在目前的 FrameworkElement 上設定值,請使用直接的 Common Language Runtime (CLR) 存取子 FlowDirection

適用於

另請參閱