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.

Definition

Namespace:Telerik.Maui.Controls.CollectionView

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class CollectionViewSwipingEventArgs : EventArgs

Inheritance: objectEventArgsCollectionViewSwipingEventArgs

Inherited Members EventArgs.Empty

Constructors

CollectionViewSwipingEventArgs(object, double)

Initializes a new instance of the CollectionViewSwipingEventArgs class.

Declaration

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

Parameters

item

object

offset

double

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

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

Property Value

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

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

Property Value

double