Skip to main content

DataGridView.Scrolled Event

Fires after a DataGridView is scrolled.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

Declaration

public event EventHandler<DataGridViewScrolledEventArgs> Scrolled

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