Windows Dev Center

ScrollViewer.HorizontalOffset Property

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:
© 2015 Microsoft