HorizontalOffset Property

ScrollContentPresenter.HorizontalOffset Property


Gets the horizontal offset of the scrolled content.

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

public double HorizontalOffset { get; }

Property Value

Type: System.Double

The horizontal offset. This property has no default value.

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

.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
© 2015 Microsoft