Skip to main content

DXCollectionView.PullToRefresh Event

Occurs when a user pulls the CollectionView down to refresh its content.

Namespace: DevExpress.XamarinForms.CollectionView

Assembly: DevExpress.XamarinForms.CollectionView.dll

NuGet Package: DevExpress.XamarinForms.CollectionView

Declaration

public event EventHandler PullToRefresh

Event Data

The PullToRefresh event's data class is EventArgs.

Remarks

You can configure the DXCollectionView so that it updates its content when a user pulls the view down from the top.

To enable this functionality, set the DXCollectionView.IsPullToRefreshEnabled property to true. Then, either handle the PullToRefresh event, or define a refresh command in a view model and bind it to the PullToRefreshCommand property.

See Also