Expand Minimize

ScrollViewer.ScrollToVerticalOffset method

Applies to Windows and Windows Phone

[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.

Syntax


public void ScrollToVerticalOffset(
  double offset
)

Parameters

offset

Type: System.Double [.NET] | float64 [C++]

The position that the content scrolls to.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

End of client support

Windows 8.1

End of server support

Windows Server 2012 R2

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

ScrollViewer

 

 

Show:
© 2014 Microsoft