Class SwipeEndedEventArgs
Provides data for the SwipeEnded event.
Inheritance
System.Object
SwipeEndedEventArgs
Namespace: Syncfusion.Maui.ListView
Assembly: Syncfusion.Maui.ListView.dll
Syntax
public class SwipeEndedEventArgs : EventArgs
Constructors
SwipeEndedEventArgs()
Declaration
public SwipeEndedEventArgs()
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 SfListView’s DataSource.DisplayItems collection.
Declaration
public int Index { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The item index of the swiped listViewItem. |
Offset
Gets or sets the swipe offset of the ListViewItem being swiped. The swipe offset determines how far the listviewitem has been swiped from its original position.
Declaration
public double Offset { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The swipe offset of the swiped listViewItem. |