Share via


IXRStackPanel::SetOrientation (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

virtual HRESULT STDMETHODCALLTYPE SetOrientation(
    XROrientation Orientation
) = 0; 

Parameters

  • Orientation
    [in] 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
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRStackPanel
IXRStackPanel::GetOrientation