AutomationElement.AutomationElementInformation.Orientation 屬性

定義

取得控制項的方向。

public:
 property System::Windows::Automation::OrientationType Orientation { System::Windows::Automation::OrientationType get(); };
public System.Windows.Automation.OrientationType Orientation { get; }
member this.Orientation : System.Windows.Automation.OrientationType
Public ReadOnly Property Orientation As OrientationType

屬性值

方向。

備註

捲軸和滑杆等控制項支援此屬性,這些控制項可以具有垂直或水準方向。

如需詳細資訊,請參閱OrientationProperty

適用於