Partager via


IXRScrollViewer::GetExtentWidth (Compact 2013)

3/28/2014

This method retrieves the horizontal size of all the content to display in this scroll viewer.

Syntax

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

Parameters

  • pValue
    [out] Pointer to a float value that indicates the horizontal size of all the content to display in this scroll viewer, in pixels.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The extent includes all the content of this scroll viewer. The visible area of the content is the viewport.

.NET Framework Equivalent

System.Windows.Controls.ScrollViewer.ExtentWidth

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRScrollViewer