Class CollectionViewSwipeCompletedEventArgs
Provides data for the SwipeCompleted event. This event is raised when a swipe gesture has been completed on a collection view item.
Inheritance
Namespace: Telerik.Maui.Controls.CollectionView
Assembly: Telerik.Maui.Controls.dll
Syntax
public class CollectionViewSwipeCompletedEventArgs : EventArgs
Constructors
CollectionViewSwipeCompletedEventArgs(Object, Double)
Initializes a new instance of the CollectionViewSwipeCompletedEventArgs class.
Declaration
public CollectionViewSwipeCompletedEventArgs(object item, double offset)
Parameters
System.Object
item
|
System.Double
offset
|
Properties
Item
Gets the data item associated with the collection view item that was 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 final offset distance (in device-independent units) that the item ended up at after the swipe gesture completed. This value represents the item's final position relative to its original location.
Declaration
public double Offset { get; }
Property Value
System.Double
|