VirtualizingStackPanel.Orientation Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.