次の方法で共有


IXRScrollContentPresenter::SetCanVerticallyScroll (Compact 2013)

3/28/2014

This method sets a value that indicates whether the contents of an IXRScrollViewer can be scrolled vertically.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetCanVerticallyScroll(
    __in bool bValue
) = 0;

Parameters

  • bValue
    [in] Boolean value that indicates whether the contents of an IXRScrollViewer can be scrolled vertically.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Controls.ScrollContentPresenter.CanVerticallyScroll

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRScrollContentPresenter
IXRControlTemplate
IXRScrollViewer