Class
CollectionViewSwipeCompletedEventArgs

Provides data for the SwipeCompleted event. This event is raised when a swipe gesture has been completed on a collection view item.

Definition

Namespace:Telerik.Maui.Controls.CollectionView

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class CollectionViewSwipeCompletedEventArgs : EventArgs

Inheritance: objectEventArgsCollectionViewSwipeCompletedEventArgs

Inherited Members EventArgs.Empty

Constructors

CollectionViewSwipeCompletedEventArgs(object, double)

Initializes a new instance of the CollectionViewSwipeCompletedEventArgs class.

Declaration

cs-api-definition
public CollectionViewSwipeCompletedEventArgs(object item, double offset)

Parameters

item

object

offset

double

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

cs-api-definition
public object Item { get; }

Property Value

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

cs-api-definition
public double Offset { get; }

Property Value

double