This example is the modified Drag-and-drop data rows from one grid to another example. It demonstrates how to implement drag-and-drop functionality between two Grids using our MVVM framework. To implement drag and drop using the MVVM pattern, create a helper class (DragAndDropHelper class) that implements corresponding events (the "Drop" and "DeleteRecord" events) in a similar manner it is implemented in WPF. Arguments of these events are passed to corresponding ViewModel commands using the EventToCommand method.
↧