VirtualizingStackPanel.Orientation 屬性

定義

取得或設定值,這個值說明堆疊內容的水平或垂直方向。

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

子內容的 Orientation。 預設為 Vertical

備註

相依性屬性資訊

識別碼欄位 OrientationProperty
中繼資料屬性設定為 true AffectsMeasure

適用於