New to Telerik UI for .NET MAUIStart a free 30-day trial

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:

C#
public class CollectionViewSwipeCompletedEventArgs : EventArgs

Inheritance: objectEventArgsCollectionViewSwipeCompletedEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the CollectionViewSwipeCompletedEventArgs class.

C#
public CollectionViewSwipeCompletedEventArgs(object item, double offset)
Parameters:itemobjectoffsetdouble

Properties

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.

C#
public object Item { get; }

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.

C#
public double Offset { get; }