Compartilhar via


IXRScrollViewer::GetVerticalScrollBarVisibility (Compact 2013)

3/28/2014

This method retrieves a value that indicates whether to display a vertical scrollbar in this scroll viewer.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetVerticalScrollBarVisibility(
    XRScrollBarVisibility *pValue
) = 0;

Parameters

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

You can also set the visibility of the vertical scrollbar on a child element in a scroll viewer by setting the attached property ScrollViewer.VerticalScrollBarVisibility. For more information, see IXRDependencyObject::SetAttachedProperty(const WCHAR*, const WCHAR*, UINT).

.NET Framework Equivalent

System.Windows.Controls.ScrollViewer.VerticalScrollBarVisibility

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRScrollViewer
IXRScrollViewer::SetVerticalScrollBarVisibility