Overview of GongSolutions.WPF.DragDrop
developGongSolutions.WPF.DragDrop is a drag-and-drop framework designed specifically for WPF applications. It is built to work seamlessly with the MVVM (Model-View-ViewModel) pattern, allowing drag-and-drop logic to reside in ViewModels rather than code-behind. It uses attached properties to bind to drag and drop handlers.
Key Features:
- MVVM Support: Logic is placed in ViewModels via attached properties.
- Multiple Selections: Supports dragging multiple items at once.
- Flexible Re-ordering: Supports re-ordering within the same control or moving items between different controls.
- Broad Control Support: Works with
ListBox,ListView,TreeView,DataGrid, and any otherItemsControl. - Operation Modes: Supports inserting, moving, or copying items into collections of the same or different item types.
- Visual Feedback: Provides Adorners for visual feedback and item previews during the drag operation.
- Sensible Defaults: Reduces boilerplate for common drag-and-drop scenarios.