This example shows how to use the Drag And Drop Behavior (available in v17.2+) to allow a user to move selected rows from the GridControl
to the ListBoxControl
using drag-and-drop. You should also handle the following drag-drop-related events:
DragDropBehavior listBoxBehavior = behaviorManager.GetBehavior<DragDropBehavior>(this.listBoxControl);
listBoxBehavior.DragOver += ListBoxBehavior_DragOver;
listBoxBehavior.DragDrop += ListBoxBehavior_DragDrop;
Note
In older versions, use the standard Drag events. Read the following topic for more information: Drag-and-drop of multiple selected grid rows.