New to Telerik UI for BlazorStart a free 30-day trial

The class that describes the event arguments to the grid row drop event.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Type Parameters:

TItem

Syntax:

C#
public class GridRowDropEventArgs<TItem> : EventArgs

Inheritance: objectEventArgsGridRowDropEventArgs<TItem>

Inherited Members EventArgs.Empty

Constructors

C#
public GridRowDropEventArgs()

Properties

Unique identifier of the component that received the dropped rows. Used to distinguish between different drop targets.

C#
public string DestinationComponentId { get; set; }

Reference to the Grid component where the rows are being dropped. Essential for cross-grid drag and drop operations.

C#
public TelerikGrid<TItem> DestinationGrid { get; set; }

String representation of the target position index within the destination component. Format depends on the specific component implementation.

C#
public string DestinationIndex { get; set; }

The data item at the drop target location where the dragged rows will be positioned. Null if dropping at the end of the list.

C#
public TItem DestinationItem { get; set; }

Whether the dragged rows should be inserted before or after the destination item. Use Before to insert dragged rows above the target row, After to insert below the target row, or Over to replace or merge with the target row.

C#
public GridRowDropPosition DropPosition { get; set; }

Item

TItem

The primary data item from the row that was dropped. This is the main item being moved in the drag and drop operation.

C#
public TItem Item { get; set; }

All data items that were dragged together, including the primary item. Use this when multiple rows are selected and dragged simultaneously.

C#
public IEnumerable<TItem> Items { get; set; }