共用方式為


WpfScrollBar.Orientation 屬性

取得這個捲軸控制項的方向。

命名空間:  Microsoft.VisualStudio.TestTools.UITesting.WpfControls
組件:  Microsoft.VisualStudio.TestTools.UITesting (在 Microsoft.VisualStudio.TestTools.UITesting.dll 中)

語法

'宣告
Public Overridable ReadOnly Property Orientation As OrientationType
    Get
public virtual OrientationType Orientation { get; }
public:
virtual property OrientationType Orientation {
    OrientationType get ();
}
abstract Orientation : OrientationType
override Orientation : OrientationType
function get Orientation () : OrientationType

屬性值

型別:System.Windows.Automation.OrientationType
這個捲軸控制項的方向。

.NET Framework 安全性

請參閱

參考

WpfScrollBar 類別

Microsoft.VisualStudio.TestTools.UITesting.WpfControls 命名空間

Orientation