Occurs when an end-user clicks an item within this WinExplorerView and drags this item.
[DXCategory("Action")] public event WinExplorerViewDragEventHandler ItemDrag
<DXCategory("Action")> Public Event ItemDrag As WinExplorerViewDragEventHandler
The ItemDrag event's data class is DevExpress.XtraGrid.Views.WinExplorer.WinExplorerViewDragEventArgs.
The ItemDrag event fires for item dragging performed with any mouse button. Although the WinExplorerView does not support item dragging out-of-box, you can implement custom item dragging by calling the GridControl.DoDragDrop method (this method is inherited from the Control class) in your ItemDrag event handler. The GridControl.AllowDrop property must be set to true to enable drag-and-drop operations. During a drag-drop operation, call the WinExplorerView.GetDragItemInfo method to retrieve the current position of a dragged item.
To see an example, download the E764.zip attachment from the Reorder items in WinExplorerView by drag and drop Support Center ticket.