Syncfusion.SfListView.XForms
Example 

SwipeReset Event

Occurs when the swiped item gets reset.
Syntax
public event ResetSwipeEventHandler SwipeReset
Event Data

The event handler receives an argument of type ResetSwipeEventArgs containing data related to this event. The following ResetSwipeEventArgs properties provide information specific to this event.

PropertyDescription
(Inherited from System.ComponentModel.CancelEventArgs)
Gets the underlying data object of the ListViewItem being swiped from the bound data source.  
Gets the index of swiped ListViewItem in the DataSource.DisplayItems of SfListView.  
Gets the current swipe offset of the ListViewItem being swiped.  
Remarks
The SwipeReset action can be canceled by setting the Cancel property of the ResetSwipeEventArgs to true.
Example
The following example demonstrates how to wire the swipe reset event in SfListView.
listView.SwipeReset += ListView_SwipeReset;
            
private void ListView_SwipeReset(object sender, ResetSwipeEventArgs e)
{
   if (e.ItemIndex == 1)
       e.Cancel = true;
}
AssemblyVersion

Syncfusion.SfListView.XForms: 17.2451.0.34

See Also