Track.Orientation 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定值,這個值表示 Track 要垂直或水平顯示。
public:
property System::Windows::Controls::Orientation Orientation { System::Windows::Controls::Orientation get(); void set(System::Windows::Controls::Orientation value); };
public System.Windows.Controls.Orientation Orientation { get; set; }
member this.Orientation : System.Windows.Controls.Orientation with get, set
Public Property Orientation As Orientation
屬性值
表示 Orientation 要垂直或水平顯示或 Track 列舉值。 預設為 Horizontal。
備註
如果您實 Track 作 做為控制項的一 ScrollBar 部分,而且您未明確設定 Orientation 屬性,則 Track.Orientation 屬性會系結至 ScrollBar.Orientation 。
如果您實 Track 作 做為控制項的一 Slider 部分,而且您未明確設定 Orientation 屬性,則 Track.Orientation 屬性會系結至 Slider.Orientation 。
相依性屬性資訊
識別碼欄位 | OrientationProperty |
設定為 的中繼資料屬性 true |
AffectsMeasure |
適用於
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應