Class
ReorderEndedCommandContext

Provides context information for the reorder ended command in a list view.

Definition

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

Assembly:Telerik.Maui.Controls.Compatibility.dll

Syntax:

cs-api-definition
public class ReorderEndedCommandContext

Inheritance: objectReorderEndedCommandContext

Constructors

ReorderEndedCommandContext(object, IDataGroup, object, IDataGroup, ItemReorderPlacement)

Initializes a new instance of the ReorderEndedCommandContext class.

Declaration

cs-api-definition
public ReorderEndedCommandContext(object item, IDataGroup group, object destinationItem, IDataGroup destinationGroup, ItemReorderPlacement placement)

Parameters

item

object

The item being reordered.

group

IDataGroup

The data group containing the item being reordered.

destinationItem

object

The destination item where the reordered item was dropped.

destinationGroup

IDataGroup

The data group containing the destination item.

placement

ItemReorderPlacement

The placement relative to the destination item.

ReorderEndedCommandContext(object, object, ItemReorderPlacement)

Initializes a new instance of the ReorderEndedCommandContext class.

Declaration

cs-api-definition
public ReorderEndedCommandContext(object item, object destinationItem, ItemReorderPlacement placement)

Parameters

item

object

The item being reordered.

destinationItem

object

The destination item where the reordered item was dropped.

placement

ItemReorderPlacement

The placement relative to the destination item.

Properties

DestinationGroup

Gets the data group that corresponds to the location where the dragged item has been released.

Declaration

cs-api-definition
public IDataGroup DestinationGroup { get; }

Property Value

IDataGroup

The IDataGroup containing the destination item.

DestinationItem

Gets the data item that corresponds to the location where the dragged item has been released.

Declaration

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

Property Value

object

The destination item.

Group

Gets the data group containing the data item that is being interacted with.

Declaration

cs-api-definition
public IDataGroup Group { get; }

Property Value

IDataGroup

The IDataGroup containing the item being reordered.

Item

Gets the data item that is being interacted with.

Declaration

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

Property Value

object

The item being reordered.

Placement

Gets a value indicating whether the dragged item should be placed before or after the destination item.

Declaration

cs-api-definition
public ItemReorderPlacement Placement { get; }

Property Value

ItemReorderPlacement

The ItemReorderPlacement value indicating the placement.