Skip to content

DevExpress-Examples/winforms-mvvm-drag-drop-rows-between-grids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WinForms Data Grid - Drag-and-drop data rows from one grid to another (MVVM)

This example is based on the following example: WinForms Data Grid - Drag-and-drop data rows from one grid to another. The example demonstrates how to implement drag-and-drop functionality between two grid controls using DevExpress WinForms MVVM framework.

To implement drag and drop using the MVVM pattern, create a helper class (DragAndDropHelper) that implements corresponding events (Drop, DeleteRecord). The EventToCommand method passes event arguments to corresponding ViewModel commands.

Files to Review

See Also