Syncfusion.SfListView.XForms
Example 

SwipeEnded Event (SfListView)

Occurs when the swipe action is completed for an item.
Syntax
public event SwipeEndedEventHandler SwipeEnded
Event Data

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

PropertyDescription
Gets the underlying data object of the swiped ListViewItem from the bound data source.  
Gets the index of the swiped ListViewItem in the DataSource.DisplayItems of SfListView.  
Gets the swipe direction of the swiped ListViewItem.  
Gets or sets the swipe offset of the swiped ListViewItem.  
Example
The following example demonstrates how to wire the swipe ended event in SfListView.
listView.SwipeEnded += ListView_SwipeEnded;
            
private void ListView_SwipeEnded(object sender, SwipeEndedEventArgs e)
{
   if (e.SwipeOffset > 70)
       listView.ResetSwipe();
}
AssemblyVersion

Syncfusion.SfListView.XForms: 17.2451.0.34

See Also