Partager via


IXRScrollContentPresenter::GetHorizontalOffset (Compact 2013)

3/28/2014

This method gets the value of the HorizontalOffset property, which indicates how far the content was scrolled horizontally.

Syntax

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

Parameters

  • pValue
    [out] Pointer to the value of the HorizontalOffset property, which indicates how far the content was scrolled horizontally.

Return Value

Returns an HRESULT that indicates whether or not the method succeeded.

.NET Framework Equivalent

System.Windows.Controls.ScrollContentPresenter.HorizontalOffset

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRScrollContentPresenter
IXRControlTemplate
IXRScrollViewer