ScrollViewer.InvalidateScrollInfo Method

July 28, 2014

Called when the value of properties that describe the size and location of the scroll area change.

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

'Declaration
Public Sub InvalidateScrollInfo

This method is called when one of the following property values change:

ExtentWidth

ExtentHeight

ViewportHeight

ViewportWidth

HorizontalOffset

VerticalOffset.

This method recomputes the size of the scrollable area when one or more of the listed properties changes. This method also changes the values of the ScrollableHeight and ScrollableWidth properties because they depend on the viewport and extent size.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft