Share via


IXRScrollContentPresenter::GetViewportHeight (Compact 2013)

3/28/2014

This method gets the vertical size of the viewport that displays the visible portion of the content in the IXRScrollViewer.

Syntax

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

Parameters

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

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

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

.NET Framework Equivalent

System.Windows.Controls.ScrollContentPresenter.GetViewportHeight

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRScrollContentPresenter
IXRControlTemplate
IXRScrollViewer