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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for