IXRScrollContentPresenter::GetViewportWidth (Compact 2013)
3/28/2014
This method gets the horizontal size of the viewport that displays the visible portion of the content in the IXRScrollViewer.
Syntax
virtual HRESULT STDMETHODCALLTYPE GetViewportWidth(
__out float* pValue
) = 0;
Parameters
- pValue
[out] Pointer to a value that indicates the horizontal 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.GetViewportWidth
Requirements
Header |
XamlRuntime.h |
sysgen |
SYSGEN_XAML_RUNTIME |
See Also
Reference
IXRScrollContentPresenter
IXRControlTemplate
IXRScrollViewer