[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
  [Collapse]Data Grid
   [Expand]Getting Started
   [Expand]Implementation Details
   [Expand]Grid View Data Layout
   [Expand]Binding to Data
   [Expand]Master-Detail Data Representation
   [Expand]Data Editing and Validation
   [Expand]Filtering and Searching
   [Expand]Data Summaries
   [Expand]Paging and Scrolling
   [Expand]Focus and Navigation
   [Expand]Conditional Formatting
     Drag-and-Drop Options
    [Expand]Process Drag-and-Drop Operations
     Drag-and-Drop Hint
     Drop Marker
     Drag-and-Drop Managers
     Move Nodes in TreeList
   [Expand]Appearance Customization
   [Expand]MVVM Enhancements
   [Expand]Printing and Exporting
   [Expand]End-User Interaction
   [Expand]Performance Improvement
   [Expand]Design-Time Features
   [Expand]Visual Elements
   [Expand]End-User Capabilities
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Gantt Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Drag-and-Drop Managers

You can use Drag-and-Drop Managers to enable drag-and-drop functionality. This approach is legacy.


The GridControl v17.2 and later ships with native drag-and-drop support. Set the DataViewBase.AllowDragDrop property to true to enable drag-and-drop.

Each grid view has a specific drag-and-drop manager:

Grid View Drag and Drop Manager Assembly
TableView GridDragDropManager DevExpress.Xpf.Grid.v18.2.Extensions
TreeListView TreeListDragDropManager DevExpress.Xpf.Grid.v18.2.Extensions

Expanded Enabling Drag-and-Drop

Perform the following steps to enable drag-and-drop:

  1. Add a reference to the DevExpress.Mvvm.v18.2.dll assembly and specify the corresponding namespace in XAML:

  2. Add a reference to the DevExpress.Xpf.Grid.v18.2.Extensions assembly.
  3. Add the required Drag and Drop Manager to the GridControl's Interaction.Behaviors collection:

Expanded Drag-and-Drop Managers Customization

Use the following properties to customize the drag-and-drop manager:

Property Description
AllowDrag Specifies whether an end-user can drag rows/nodes within a grid's view.
AllowDrop Specifies whether an end-user can drop rows/nodes within a grid's view.
AllowScrolling Specifies whether dragging rows/nodes to the edges of the grid's view automatically activates scrolling.

Handle the required event(s) to control drag-and-drop operations manually:

Event Description
StartDrag Occurs before a drag-and-drop operation is started. You can handle this event to prevent dragging.
DragOver Occurs repeatedly during a drag-and-drop operation. This event enables you to control whether an end-use can drop a row/node on the current position.
Drop Occurs after a drag-and-drop operation has completed.

Expanded Drag-and-Drop Managers Limitations

  • Drag-and-drop between applications is not supported.
  • You can only drag and drop records to controls with an attached DragDropManager class.

Is this topic helpful?​​​​​​​