Syncfusion.SfListView.XForms
Example 

SwipeStarted Event (SfListView)

Occurs when the swipe offset changes from its initial value.
Syntax
public event SwipeStartedEventHandler SwipeStarted
Event Data

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

PropertyDescription
(Inherited from System.ComponentModel.CancelEventArgs)
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.  
Remarks
The SwipeStarted event is a cancelable event and can be canceled by handling the event and setting the Cancel property to true. However, if the event is canceled, the swipe action for that particular item gets cancelled.
Example
The following example demonstrates how to wire the swipe started event in SfListView.
listView.SwipeStarted += ListView_SwipeStarted;
            
private void ListView_SwipeStarted(object sender, SwipeStartedEventArgs e)
{
   if (e.ItemIndex == 1)
       e.Cancel = true;
}
AssemblyVersion

Syncfusion.SfListView.XForms: 17.2451.0.34

See Also