Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to implement drag-and-drop between two Grids using MVVM

$
0
0

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.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>