次の方法で共有


IXRScrollContentPresenter::GetExtentWidth (Compact 2013)

3/28/2014

This method gets the vertical size of the extent of all of the content in the IXRScrollViewer (not just the content that is visible in the viewport).

Syntax

virtual HRESULT STDMETHODCALLTYPE GetExtentWidth(
    __out float* pValue
) = 0;

Parameters

  • pValue
    [out] Pointer to a value that indicates the vertical size of the extent.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The extent includes all of the content in the IXRScrollViewer. The viewport is the visible area of the content.

.NET Framework Equivalent

System.Windows.Controls.ScrollContentPresenter.ExtentWidth

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRScrollContentPresenter
IXRControlTemplate
IXRScrollViewer