Expand
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)
Syntax

'Declaration

Public Property HorizontalOffset As Double
	Get
	Friend Set
'Usage

Dim instance As ScrollViewer
Dim value As Double

value = instance.HorizontalOffset

Property Value

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

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.

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Version Information

Silverlight

Supported in: 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.0
Community ContentAdd
Page view tracker