IXRVirtualizingStackPanel::SetOrientation (Compact 2013)
3/28/2014
This method sets a value that describes the horizontal or vertical orientation of stacked content in this object.
Syntax
virtual HRESULT STDMETHODCALLTYPE SetOrientation(
__in XROrientation Orientation
) = 0;
Parameters
- Orientation
[in] An XROrientation enumerated value that defines whether the stacked content in this control is displayed horizontally or vertically.
Return Value
Returns an HRESULT that indicates success or failure.
Remarks
In a stack panel, child elements are displayed in a single line, which is oriented either horizontally or vertically.
.NET Framework Equivalent
System.Windows.Controls.VirtualizingStackPanel.Orientation
Requirements
Header |
XamlRuntime.h |
sysgen |
SYSGEN_XAML_RUNTIME |