.NET Framework Class Library for Silverlight
ScrollViewer..::.ScrollToHorizontalOffset Method

Scrolls the content that is within the ScrollViewer to the specified horizontal offset position.

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

Visual Basic (Declaration)
Public Sub ScrollToHorizontalOffset ( _
    offset As Double _
)
Visual Basic (Usage)
Dim instance As ScrollViewer
Dim offset As Double

instance.ScrollToHorizontalOffset(offset)
C#
public void ScrollToHorizontalOffset(
    double offset
)

Parameters

offset
Type: System..::.Double
The position that the content scrolls to.
Remarks

The HorizontalOffset property will not be updated until a layout pass has occurred. You can force an update by calling UpdateLayout.

Platforms

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

See Also

Reference

Tags :


Page view tracker