Class SwipeStartingEventArgs
Provides data for the SwipeStarting event, which is raised when swipe offset is changed from its initial value.
Inheritance
System.Object
SwipeStartingEventArgs
Namespace: Syncfusion.Maui.ListView
Assembly: Syncfusion.Maui.ListView.dll
Syntax
public class SwipeStartingEventArgs : CancelEventArgs
Constructors
SwipeStartingEventArgs()
Declaration
public SwipeStartingEventArgs()
Properties
DataItem
Gets the data object associated with the swiped ListViewItem in the bound data source.
Declaration
public object DataItem { get; }
Property Value
Type | Description |
---|---|
System.Object | The underlying data object of the swiped ListViewItem from the bound data source. |
Direction
Gets the swipe direction of the swiped ListViewItem "/> in the SfListView control.
Declaration
public SwipeDirection Direction { get; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.SwipeDirection | The swipe direction of the swiped listViewItem. |
Index
Gets the index of the swiped ListViewItem in the DataSource.DisplayItems of SfListView.
Declaration
public int Index { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The item index of the swiped listViewItem. |