HorizontalOffset Property

ScrollViewer.HorizontalOffset 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 horizontal offset of the scrolled content.

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

public double HorizontalOffset { get; internal set; }

Property Value

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

Dependency property identifier field: HorizontalOffsetProperty

A positive HorizontalOffset value corresponds to the content being offset to the left.

Valid values are between zero and the ExtentWidth minus the ViewportWidth.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft