DataGridView.LoadMore Event
Occurs when a user scrolls to the bottom of the grid to load new data items.
Namespace: DevExpress.Maui.DataGrid
Assembly: DevExpress.Maui.DataGrid.dll
NuGet Package: DevExpress.Maui.DataGrid
Declaration
public event EventHandler LoadMore
Event Data
The LoadMore event's data class is EventArgs.
Remarks
DataGridView supports dynamic loading of new data records from the bound data source when a user scrolls to the bottom of the grid. To enable this functionality, set the DataGridView.IsLoadMoreEnabled property to true
. The next step is to either handle the LoadMore
event or define a command in a view model and bind it to the DataGridView.LoadMoreCommand property.
Note that the load-more functionality stops and the LoadMore
event is not raised if the number of items in the source has not been changed.
Set the DataGridView.IsRefreshing property to false
after data is loaded to hide the loading indicator in the grid.