Back to Devexpress

SpreadsheetControl.ScrollPositionChanged Event

wpf-devexpress-dot-xpf-dot-spreadsheet-dot-spreadsheetcontrol-a3f981d5.md

latest2.1 KB
Original Source

SpreadsheetControl.ScrollPositionChanged Event

Occurs when a worksheet is being scrolled in the SpreadsheetControl‘s UI.

Namespace : DevExpress.Xpf.Spreadsheet

Assembly : DevExpress.Xpf.Spreadsheet.v25.2.dll

NuGet Package : DevExpress.Wpf.Spreadsheet

Declaration

csharp
public event ScrollPositionChangedEventHandler ScrollPositionChanged
vb
Public Event ScrollPositionChanged As ScrollPositionChangedEventHandler

Event Data

The ScrollPositionChanged event's data class is ScrollPositionChangedEventArgs. The following properties provide information specific to this event:

PropertyDescription
ColumnIndexGets the index of the left-most column of the currently visible area.
RowIndexGets the index of the top row of the currently visible area.

Remarks

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.

See Also

SpreadsheetControl Class

SpreadsheetControl Members

DevExpress.Xpf.Spreadsheet Namespace