次の方法で共有


IXRStackPanel::SetOrientation (Compact 2013)

3/28/2014

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

See Also

Reference

IXRStackPanel
IXRStackPanel::GetOrientation