Class SwipingEventArgs
Provides data for the Swiping event, which is raised when user begins swiping an item.
Inheritance
Namespace: Syncfusion.Maui.ListView
Assembly: Syncfusion.Maui.ListView.dll
Syntax
public class SwipingEventArgs : EventArgs
Constructors
SwipingEventArgs()
Declaration
public SwipingEventArgs()
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 listViewItem being swiped 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. |
Handled
Gets or sets a value indicating whether the current swiped offset of swiped ListViewItem should be remain same till the SwipeEnded is raised.
Declaration
public bool Handled { get; set; }
Property Value
Type |
---|
System.Boolean |
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 the current swipe offset of the ListViewItem being swiped.
Declaration
public double OffSet { get; }
Property Value
Type | Description |
---|---|
System.Double | The current swipe offset of the item being swiped. |