Syncfusion.SfListView.XForms
Example 

Swiping Event (SfListView)

Occurs when swiping an item is being progress.
Syntax
public event SwipingEventHandler Swiping
Event Data

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

PropertyDescription
Gets or sets a value indicating whether the current swiped offset of swiped ListViewItem should be remain same till the SfListView.SwipeEnded is raised.  
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 swipe direction of the swiped ListViewItem.  
Gets the current swipe offset of the ListViewItem being swiped.  
Remarks
The Swiping event can be handled by defining the Handled property in the SwipingEventArgs argument to true which holds the current swipe offset value for the swiped item until the SwipeEnded event is raised.
Example
The following example demonstrates how to wire the swiping event in SfListView.
listView.Swiping += ListView_Swiping;
            
private void ListView_Swiping(object sender, SwipingEventArgs e)
{
   if (e.ItemIndex == 1)
       e.Handled = true;
}
AssemblyVersion

Syncfusion.SfListView.XForms: 17.2451.0.34

See Also