Awesome
<!-- [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://vshymanskyy.github.io/StandWithUkraine) --> <div align="center"> <br /> <a href="https://github.com/punker76/gong-wpf-dragdrop"> <img alt="gong-wpf-dragdrop" width="700" heigth="142" src="./GongSolutions.Wpf.DragDrop.Full.png"> </a> <h1>GongSolutions.WPF.DragDrop</h1> <p> An easy to use drag'n'drop framework for WPF. </p> <p> Supporting .NET Framework 4.6.2 and later, .NET 6 and later (on Windows) </p> <a href="https://gitter.im/punker76/gong-wpf-dragdrop"> <img src="https://img.shields.io/badge/Gitter-Join%20Chat-green.svg?style=flat-square"> </a> <a href="https://twitter.com/punker76"> <img src="https://img.shields.io/badge/twitter-%40punker76-55acee.svg?style=flat-square"> </a> <br /> <a href="https://ci.appveyor.com/project/punker76/gong-wpf-dragdrop/branch/main"> <img alt="mainstatus" src="https://img.shields.io/appveyor/ci/punker76/gong-wpf-dragdrop/main.svg?style=flat-square&&label=main"> </a> <a href="https://ci.appveyor.com/project/punker76/gong-wpf-dragdrop/branch/develop"> <img alt="devstatus" src="https://img.shields.io/appveyor/ci/punker76/gong-wpf-dragdrop/develop.svg?style=flat-square&&label=develop"> </a> <a href="https://github.com/punker76/gong-wpf-dragdrop/issues"> <img src="https://img.shields.io/github/issues/punker76/gong-wpf-dragdrop.svg?style=flat-square"> </a> <br /> <a href="https://github.com/punker76/gong-wpf-dragdrop/releases/latest"> <img src="https://img.shields.io/github/release/punker76/gong-wpf-dragdrop.svg?style=flat-square"> </a> <a href="https://www.nuget.org/packages/gong-wpf-dragdrop"> <img src="https://img.shields.io/nuget/dt/gong-wpf-dragdrop.svg?style=flat-square"> </a> <a href="https://www.nuget.org/packages/gong-wpf-dragdrop"> <img src="https://img.shields.io/nuget/v/gong-wpf-dragdrop.svg?style=flat-square"> </a> <a href="https://www.nuget.org/packages/gong-wpf-dragdrop"> <img src="https://img.shields.io/nuget/vpre/gong-wpf-dragdrop.svg?style=flat-square&label=nuget-pre"> </a> <br /> <br /> </div>Features
- Works with MVVM : the logic for the drag and drop can be placed in a ViewModel. No code needs to be placed in code-behind, instead attached properties are used to bind to a drag handler/drop handler in a ViewModel.
- Works with multiple selections.
- Can drag data within the same control to re-order, or between (different) controls.
- Works with
ListBox
,ListView
,TreeView
,DataGrid
and any otherItemsControl
. - Can insert, move or copy an item into a collection of the same/another control (same item type).
- Can display Adorners to give the user visual feedback of the operation in progress.
- Can display a preview of the dragged item (the preview is always visible).
- Has sensible defaults so that you have to write less code for common operations.
Let's get started
- Building the
gong-wpf-dragdrop
solution - How to...
- Releases and Release Notes
- Release History
- Strong naming
- Wiki
- License
License
Copyright © Jan Karger, Steven Kirk and Contributors. All rights reserved.
GongSolutions.WPF.DragDrop
is provided as-is under the BSD 3-Clause License. For more information see LICENSE.
Want to say thanks?
This framework is free and can be used for free, open source and commercial applications. It's tested, used and contributed by many awesome people. So hit the magic :star: button, we appreciate it!!! :pray:
Become a sponsor and show your support to this open source project.
If you use GongSolutions.WPF.DragDrop
as serious task, and you'd like to honor my work on it, please donate, I'll appreciate it.
Does your company use GongSolutions.WPF.DragDrop
? Ask your manager or marketing team if your company would be interested in supporting this project. Your company's logo can be shown on GitHub - who doesn't want a little extra exposure?