編輯

共用方式為


VirtualizingStackPanel.Orientation Property

Definition

Gets or sets a value that describes the horizontal or vertical orientation of stacked content.

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

Property Value

The Orientation of child content. The default is Vertical.

Remarks

Dependency Property Information

Identifier field OrientationProperty
Metadata properties set to true AffectsMeasure

Applies to