Share via


IXRScrollContentPresenter::SetCanHorizontallyScroll (Compact 2013)

3/28/2014

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

Syntax

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

Parameters

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

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Controls.ScrollContentPresenter.CanHorizontallyScroll

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRScrollContentPresenter
IXRControlTemplate
IXRScrollViewer