次の方法で共有


IXRScrollContentPresenter::GetScrollOwner (Compact 2013)

3/28/2014

This method gets the IXRScrollViewer element that controls scrolling behavior.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetScrollOwner(
    __out IXRScrollViewer** ppValue
) = 0;

Parameters

  • ppValue
    [out] Pointer to an IXRScrollViewer object pointer whose properties control scrolling behavior.

Return Value

Returns an HRESULT that indicates whether the method succeeded.

Remarks

Use the IXRScrollViewer::GetHorizontalScrollBarVisibility and IXRScrollViewer::GetVerticalScrollBarVisibility methods of the IXRScrollViewer object to determine 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