Class CollectionViewSwipingEventArgs
Provides data for the Swiping event. This event is raised continuously while a swipe gesture is in progress on a collection view item.
Inheritance
Namespace: Telerik.Maui.Controls.CollectionView
Assembly: Telerik.Maui.Controls.dll
Syntax
public class CollectionViewSwipingEventArgs : EventArgs
Constructors
CollectionViewSwipingEventArgs(Object, Double)
Initializes a new instance of the CollectionViewSwipingEventArgs class.
Declaration
public CollectionViewSwipingEventArgs(object item, double offset)
Parameters
System.Object
item
|
System.Double
offset
|
Properties
Item
Gets the data item associated with the collection view item that is currently being swiped. This is the same object that would be found in the collection view's data source.
Declaration
public object Item { get; }
Property Value
System.Object
|
Offset
Gets the current offset distance (in device-independent units) that the item has been swiped from its original position. Positive values indicate swiping in one direction, negative values indicate swiping in the opposite direction.
Declaration
public double Offset { get; }
Property Value
System.Double
|