Class
GridRowDropEventArgs<TItem>

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:

cs-api-definition
public class GridRowDropEventArgs<TItem> : EventArgs

Inheritance: objectEventArgsGridRowDropEventArgs<TItem>

Inherited Members EventArgs.Empty

Constructors

GridRowDropEventArgs()

Declaration

cs-api-definition
public GridRowDropEventArgs()

Properties

DestinationComponentId

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

Declaration

cs-api-definition
public string DestinationComponentId { get; set; }

Property Value

string

DestinationGrid

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

Declaration

cs-api-definition
public TelerikGrid<TItem> DestinationGrid { get; set; }

Property Value

TelerikGrid<TItem>

DestinationIndex

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

Declaration

cs-api-definition
public string DestinationIndex { get; set; }

Property Value

string

DestinationItem

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

Declaration

cs-api-definition
public TItem DestinationItem { get; set; }

Property Value

TItem

DropPosition

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.

Declaration

cs-api-definition
public GridRowDropPosition DropPosition { get; set; }

Property Value

GridRowDropPosition

Item

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

Declaration

cs-api-definition
public TItem Item { get; set; }

Property Value

TItem

Items

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

Declaration

cs-api-definition
public IEnumerable<TItem> Items { get; set; }

Property Value

IEnumerable<TItem>