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

Represents the context for the SwipingCommand.

Definition

Namespace:Telerik.Maui.Controls.CollectionView

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class CollectionViewSwipingCommandContext

Inheritance: objectCollectionViewSwipingCommandContext

Constructors

Initializes a new instance of the CollectionViewSwipingCommandContext class.

C#
public CollectionViewSwipingCommandContext(object item, double offset)
Parameters:itemobjectoffsetdouble

Properties

Gets the item that is currently swiped.

C#
public object Item { get; }

Gets the offset of the swiped item from its initial position.

C#
public double Offset { get; }