Share via


IXRScrollBar::GetOrientation (Compact 2013)

3/28/2014

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

Syntax

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

Parameters

  • pOrientation
    [out] Pointer to an 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::SetOrientation