Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DataGridView.Scrolled Event

In This Article

Fires after a DataGridView is scrolled.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

#Declaration

#Event Data

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

Property Description
DeltaX Gets the difference between the current and previous horizontal scroll positions.
DeltaY Gets the difference between the current and previous vertical scroll positions.
ExtentHeight Gets a vertical size of the extent.
ExtentWidth Gets a horizontal size of the extent.
FirstVisibleRowHandle Gets the row handle of the first visible item.
LastVisibleRowHandle Gets the row handle of the last visible item.
OffsetX Gets the top offset of the scrolled content.
OffsetY Gets the left offset of the scrolled content.
ViewportHeight Gets the height of the DevExpress.Maui.CollectionView viewport (the visible area of the content).
ViewportWidth Gets the width of the DevExpress.Maui.CollectionView viewport (the visible area of the content).
See Also