ScrollViewer.ScrollToVerticalOffset(Double) Method

Definition

Note

ScrollToVerticalOffset may be altered or unavailable for releases after Windows 8.1. Instead, use ChangeView.

Scrolls the content that is within the ScrollViewer to the specified vertical offset position.

public:
 virtual void ScrollToVerticalOffset(double offset) = ScrollToVerticalOffset;
/// [Windows.Foundation.Metadata.Deprecated("ScrollToVerticalOffset may be altered or unavailable for releases after Windows 8.1. Instead, use ChangeView.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
void ScrollToVerticalOffset(double const& offset);
/// [Windows.Foundation.Metadata.Deprecated("ScrollToVerticalOffset may be altered or unavailable for releases after Windows 8.1. Instead, use ChangeView.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
void ScrollToVerticalOffset(double const& offset);
[Windows.Foundation.Metadata.Deprecated("ScrollToVerticalOffset may be altered or unavailable for releases after Windows 8.1. Instead, use ChangeView.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
public void ScrollToVerticalOffset(double offset);
[Windows.Foundation.Metadata.Deprecated("ScrollToVerticalOffset may be altered or unavailable for releases after Windows 8.1. Instead, use ChangeView.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
public void ScrollToVerticalOffset(double offset);
function scrollToVerticalOffset(offset)
Public Sub ScrollToVerticalOffset (offset As Double)

Parameters

offset
Double

double

The position that the content scrolls to.

Attributes

Applies to