Jaa


VirtualizingStackPanel.Orientation Property

Definition

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

public:
 property Orientation Orientation { Orientation get(); void set(Orientation value); };
Orientation Orientation();

void Orientation(Orientation value);
public Orientation Orientation { get; set; }
var orientation = virtualizingStackPanel.orientation;
virtualizingStackPanel.orientation = orientation;
Public Property Orientation As Orientation
<VirtualizingStackPanel Orientation="Horizontal"/>
- or -
<VirtualizingStackPanel Orientation="Vertical"/>

Property Value

The Orientation of child content, as a value of the enumeration. The default is Vertical.

Applies to