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

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:

C#
public class CollectionViewSwipeStartingEventArgs : EventArgs

Inheritance: objectEventArgsCollectionViewSwipeStartingEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the CollectionViewSwipeStartingEventArgs class.

C#
public CollectionViewSwipeStartingEventArgs(object item)
Parameters:itemobject

Properties

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.

C#
public bool Cancel { get; set; }

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.

C#
public object Item { get; }