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.
Inheritance
Namespace: Telerik.Maui.Controls.CollectionView
Assembly: Telerik.Maui.Controls.dll
Syntax
public class CollectionViewSwipeStartingEventArgs : EventArgs
Constructors
CollectionViewSwipeStartingEventArgs(Object)
Initializes a new instance of the CollectionViewSwipeStartingEventArgs class.
Declaration
public CollectionViewSwipeStartingEventArgs(object item)
Parameters
System.Object
item
|
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
public bool Cancel { get; set; }
Property Value
System.Boolean
|
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
public object Item { get; }
Property Value
System.Object
|