VerticalOffset Property

ScrollViewer.VerticalOffset Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets a value that contains the vertical offset of the scrolled content.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)

public double VerticalOffset { get; internal set; }

Property Value

Type: System.Double
The vertical offset of the scrolled content. The default value is 0.0.

Dependency property identifier field: VerticalOffsetProperty

A positive VerticalOffset value corresponds to the content being offset to the top.

Valid values are between zero and the ExtentHeight minus the ViewportHeight.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2018 Microsoft