Share via


IXRStackPanel::GetOrientation (Compact 2013)

3/28/2014

This method retrieves the dimension by which child elements are stacked on this panel.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetOrientation(
    XROrientation* pOrientation
) = 0;

Parameters

  • pOrientation
    [out] Pointer to an XROrientation member that defines whether the orientation of child elements is horizontal or vertical.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Controls.StackPanel.Orientation

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRStackPanel
IXRStackPanel::SetOrientation