Partager via


IXRScrollViewer::SetVerticalScrollBarVisibility (Windows Embedded CE 6.0)

1/6/2010

This method sets a value that indicates whether a vertical scrollbar will be displayed in this scroll viewer.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetVerticalScrollBarVisibility(
    XRScrollBarVisibility Value
) = 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*, UINT).

.NET Framework Equivalent

System.Windows.Controls.ScrollViewer.VerticalScrollBarVisibility

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRScrollViewer
IXRScrollViewer::GetVerticalScrollBarVisibility