Occurs when a worksheet is being scrolled in the SpreadsheetControl‘s UI.
NuGet Package: DevExpress.Wpf.Spreadsheet
public event ScrollPositionChangedEventHandler ScrollPositionChanged
Public Event ScrollPositionChanged As ScrollPositionChangedEventHandler
The ScrollPositionChanged event's data class is ScrollPositionChangedEventArgs. The following properties provide information specific to this event:
|ColumnIndex||Gets the index of the left-most column of the currently visible area.|
|RowIndex||Gets the index of the top row of the currently visible area.|
The ScrollPositionChanged event occurs in the following cases:
- When an end-user scrolls a worksheet in the SpreadsheetControl‘s UI.
- When the Freeze Panes group of commands is used in the SpreadsheetControl‘s UI to keep specific rows and columns always visible during scrolling.