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

Represents the context for the SwipeStartingCommand.

Definition

Namespace:Telerik.Maui.Controls.CollectionView

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class CollectionViewSwipeStartingCommandContext

Inheritance: objectCollectionViewSwipeStartingCommandContext

Constructors

Initializes a new instance of the CollectionViewSwipeStartingCommandContext class.

C#
public CollectionViewSwipeStartingCommandContext(object item)
Parameters:itemobject

Properties

Gets or sets a value indicating whether the swipe should be canceled.

C#
public bool Cancel { get; set; }

Gets the item that is about to be swiped.

C#
public object Item { get; }