ScrollViewer::HorizontalOffset Property
.NET Framework (current version)
Gets a value that contains the horizontal offset of the scrolled content.
Assembly: PresentationFramework (in PresentationFramework.dll)
A positive HorizontalOffset value corresponds to the content being offset to the left.
Valid values are between zero and the ExtentWidth minus the ViewportWidth.
The returned value is described in Device Independent Pixels.
Beginning in the .NET Framework version 3.5 SP1, when IsDeferredScrollingEnabled is true, HorizontalOffset continues to change as the user drags the Thumb, but the content view doesn't change until the Thumb is released. In this case, ContentHorizontalOffset represents the visible content offset and HorizontalOffset represents the content offset based on the Thumb position.
Identifier field | |
Metadata properties set to true | None |
.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: