ClassReorderEndedCommandContext
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:
public class ReorderEndedCommandContext
Inheritance: objectReorderEndedCommandContext
Constructors
ReorderEndedCommandContext(object, IDataGroup, object, IDataGroup, ItemReorderPlacement)
Initializes a new instance of the ReorderEndedCommandContext class.
Declaration
public ReorderEndedCommandContext(object item, IDataGroup group, object destinationItem, IDataGroup destinationGroup, ItemReorderPlacement placement)
Parameters
item
The item being reordered.
group
The data group containing the item being reordered.
destinationItem
The destination item where the reordered item was dropped.
destinationGroup
The data group containing the destination item.
placement
The placement relative to the destination item.
ReorderEndedCommandContext(object, object, ItemReorderPlacement)
Initializes a new instance of the ReorderEndedCommandContext class.
Declaration
public ReorderEndedCommandContext(object item, object destinationItem, ItemReorderPlacement placement)
Parameters
item
The item being reordered.
destinationItem
The destination item where the reordered item was dropped.
placement
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
public IDataGroup DestinationGroup { get; }
Property Value
The IDataGroup containing the destination item.
DestinationItem
Gets the data item that corresponds to the location where the dragged item has been released.
Declaration
public object DestinationItem { get; }
Property Value
The destination item.
Group
Gets the data group containing the data item that is being interacted with.
Declaration
public IDataGroup Group { get; }
Property Value
The IDataGroup containing the item being reordered.
Item
Gets the data item that is being interacted with.
Declaration
public object Item { get; }
Property Value
The item being reordered.
Placement
Gets a value indicating whether the dragged item should be placed before or after the destination item.
Declaration
public ItemReorderPlacement Placement { get; }
Property Value
The ItemReorderPlacement value indicating the placement.