Class
CollectionViewSwipeStartingEventArgs

Provides data for the SwipeStarting event. This event is raised when a swipe gesture is about to begin on a collection view item.

Definition

Namespace:Telerik.Maui.Controls.CollectionView

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class CollectionViewSwipeStartingEventArgs : EventArgs

Inheritance: objectEventArgsCollectionViewSwipeStartingEventArgs

Inherited Members EventArgs.Empty

Constructors

CollectionViewSwipeStartingEventArgs(object)

Initializes a new instance of the CollectionViewSwipeStartingEventArgs class.

Declaration

cs-api-definition
public CollectionViewSwipeStartingEventArgs(object item)

Parameters

item

object

Properties

Cancel

Gets or sets a value indicating whether the swipe operation should be cancelled. When set to true, the swipe gesture will be prevented from starting.

Declaration

cs-api-definition
public bool Cancel { get; set; }

Property Value

bool

Item

Gets the data item associated with the collection view item that is about to be 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