Back to Devexpress

DataGridView.Scrolled Event

maui-devexpress-dot-maui-dot-datagrid-dot-datagridview-85bc1d61.md

latest2.5 KB
Original Source

DataGridView.Scrolled Event

Fires after a DataGridView is scrolled.

Namespace : DevExpress.Maui.DataGrid

Assembly : DevExpress.Maui.DataGrid.dll

NuGet Package : DevExpress.Maui.DataGrid

Declaration

csharp
public event EventHandler<DataGridViewScrolledEventArgs> Scrolled

Event Data

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

PropertyDescription
DeltaXGets the difference between the current and previous horizontal scroll positions.
DeltaYGets the difference between the current and previous vertical scroll positions.
ExtentHeightGets a vertical size of the extent.
ExtentWidthGets a horizontal size of the extent.
FirstVisibleRowHandleGets the row handle of the first visible item.
LastVisibleRowHandleGets the row handle of the last visible item.
OffsetXGets the top offset of the scrolled content.
OffsetYGets the left offset of the scrolled content.
ViewportHeightGets the height of the DevExpress.Maui.CollectionView viewport (the visible area of the content).
ViewportWidthGets the width of the DevExpress.Maui.CollectionView viewport (the visible area of the content).

See Also

DataGridView Class

DataGridView Members

DevExpress.Maui.DataGrid Namespace