Partager via


IXRScrollBar::SetOrientation (Compact 2013)

3/28/2014

This method sets whether this scrollbar is displayed horizontally or vertically.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetOrientation(
    __in  XROrientation   Orientation
) = 0;

Parameters

  • Orientation
    [in] XROrientation enumerated value that defines whether this scrollbar is displayed horizontally or vertically.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Controls.Primitives.ScrollBar.Orientation

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRScrollBar
IXRScrollBar::GetOrientation