Share via


IXRScrollContentPresenter::SetScrollOwner (Compact 2013)

3/28/2014

This method sets the IXRScrollViewer element that controls whether scroll bars are visible.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetScrollOwner(
    __in IXRScrollViewer* pValue
) = 0;

Parameters

  • pValue
    [in] Pointer to an IXRScrollViewer object whose properties specify whether the scroll bars are visible.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

Use the IXRScrollViewer::SetHorizontalScrollBarVisibility and IXRScrollViewer::SetVerticalScrollBarVisibility methods of the IXRScrollViewer object to specify whether the scroll bars are visible.

.NET Framework Equivalent

System.Windows.Controls.ScrollContentPresenter.ScrollOwner

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRScrollContentPresenter
IXRControlTemplate
IXRScrollViewer