Class
ItemSwipeStartingCommandContext

Provides context information for item swipe starting commands.

Definition

Namespace:Telerik.Maui.Controls.Compatibility.DataControls.ListView.Commands

Assembly:Telerik.Maui.Controls.Compatibility.dll

Syntax:

cs-api-definition
public class ItemSwipeStartingCommandContext

Inheritance: objectItemSwipeStartingCommandContext

Constructors

ItemSwipeStartingCommandContext(object, bool)

Initializes a new instance of the ItemSwipeStartingCommandContext class.

Declaration

cs-api-definition
public ItemSwipeStartingCommandContext(object item, bool isCanceled)

Parameters

item

object

The item being swiped.

isCanceled

bool

A value indicating whether the swipe operation is canceled.

Properties

IsCanceled

Gets a value indicating whether the swipe operation is canceled.

Declaration

cs-api-definition
public bool IsCanceled { get; }

Property Value

bool

true if the operation is canceled; otherwise, false.

Item

Gets the item being swiped.

Declaration

cs-api-definition
public object Item { get; }

Property Value

object

The item object.

Methods

Cancel()

Cancels the item swipe operation.

Declaration

cs-api-definition
public void Cancel()