Skip to content

Move cell contents using drag and drop (Microsoft Excel inspired behavior).

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/winforms-grid-move-cell-using-drag-drop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

DevExpressExampleBotDevExpressExampleBot
DevExpressExampleBot
and
DevExpressExampleBot
Mar 20, 2025
98162bf · Mar 20, 2025

History

21 Commits
Mar 4, 2025
Mar 20, 2025
Mar 20, 2025
Apr 23, 2018
Apr 23, 2018
Apr 23, 2018
Aug 30, 2024
Apr 23, 2018

Repository files navigation

WinForms Data Grid - Move cell contents using drag and drop (Microsoft Excel-inspired behavior)

This example handles MouseDown, MouseMove, and MouseUp events to allow users to move cell values using drag and drop:

  • Select a data cell that you want to move.
  • Point to the cell's bottom border.
  • When the pointer becomes a multi-arrow move pointer, drag the cell to another location.

See Also

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)