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

Provides data for the Swiping event. This event is raised continuously while a swipe gesture is in progress on a collection view item.

Definition

Namespace:Telerik.Maui.Controls.CollectionView

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class CollectionViewSwipingEventArgs : EventArgs

Inheritance: objectEventArgsCollectionViewSwipingEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the CollectionViewSwipingEventArgs class.

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

Properties

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.

C#
public object Item { get; }

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.

C#
public double Offset { get; }