Skip to main content

DXCollectionView.LoadMore Event

Occurs when a user scrolls to the last item in the CollectionView to load new data items.

Namespace: DevExpress.Maui.CollectionView

Assembly: DevExpress.Maui.CollectionView.dll

NuGet Package: DevExpress.Maui.CollectionView

Declaration

public event EventHandler LoadMore

Event Data

The LoadMore event's data class is EventArgs.

Remarks

When the IsLoadMoreEnabled property is enabled, DXCollectionView loads new data records from the bound data source when a user scrolls to the bottom (or to the right if the Orientation property is set to Horizontal) of the view. Define a load-more command in your View Model and bind that command to the LoadMoreCommand property. As an alternative to that command, you can handle the LoadMore event.

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 DXCollectionView.IsRefreshing property to false after data is loaded to hide the loading indicator in the collection view.

See Also