InvalidateScrollInfo Method

ScrollViewer.InvalidateScrollInfo Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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)

public void 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:
© 2017 Microsoft