Back to Devexpress

DataGridView.CompleteRowDragDrop Event

maui-devexpress-dot-maui-dot-datagrid-dot-datagridview-510eb69f.md

latest1.7 KB
Original Source

DataGridView.CompleteRowDragDrop Event

Occurs after the drag-and-drop operation is completed.

Namespace : DevExpress.Maui.DataGrid

Assembly : DevExpress.Maui.DataGrid.dll

NuGet Package : DevExpress.Maui.DataGrid

Declaration

csharp
public event EventHandler<CompleteRowDragDropEventArgs> CompleteRowDragDrop

Event Data

The CompleteRowDragDrop event's data class is CompleteRowDragDropEventArgs. The following properties provide information specific to this event:

PropertyDescription
ItemGets a data source item that corresponds to the dragged and dropped row.
RowHandleGets the grid’s row handle. Inherited from RowEventArgs.

Remarks

You can define an action that is executed when the drag-and-drop operation is completed.

  1. Subscribe to the CompleteRowDragDrop event.

  2. In the event handler, use the RowHandle property to get the dropped row handle. To access a data source item (EmployeeTask with the DueDate property) that corresponds to the dropped row, use the Item property.

See Also

DataGridView Class

DataGridView Members

DevExpress.Maui.DataGrid Namespace