Share via


IXRScrollBar::SetOrientation (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

 virtual HRESULT STDMETHODCALLTYPE SetOrientation(
    XROrientation Value
) = 0;

Parameters

  • Value
    [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
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRScrollBar
IXRScrollBar::GetOrientation