• Stars
    star
    2,052
  • Rank 21,585 (Top 0.5 %)
  • Language
    C#
  • License
    BSD 3-Clause "New...
  • Created about 11 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The GongSolutions.WPF.DragDrop library is a drag'n'drop framework for WPF

gong-wpf-dragdrop

GongSolutions.WPF.DragDrop

An easy to use drag'n'drop framework for WPF.

Supporting .NET Framework 4.6.2+, .NET Core 3.1, .NET 5 and .NET 6 (on Windows)


mainstatus devstatus


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 other ItemsControl.
  • 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

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 ⭐ button, we appreciate it!!! 🙏

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?

In action

gif01

screenshot01

screenshot02

screenshot03

screenshot04

gif02

More Repositories

1

MahApps.Metro.SimpleChildWindow

A simple child window for MahApps.Metro
C#
361
star
2

simple-music-player

Simple Music Player - SimpleMP - Keeps it simple and plays your music
C#
339
star
3

code-samples

Just some code samples for MahApps and other experiments...
C#
257
star
4

MahApps.Avalonia.IconPacks.Testbed

Testbed for MahApps.Avalonia.IconPacks
C#
16
star
5

MahApps.Metro.netcoreapp30

.NET Core 3.1 MahApps.Metro sample
C#
15
star
6

MahApps.Metro.CustomDialog.Sample

Sample for a custom Dialog with MahApps.Metro
C#
12
star
7

WpfAppMahAppsIconPacks

WPF sample with MahApps.Metro and IconPacks
C#
9
star
8

Avalonia.DragDrop

A drag'n'drop framework for AvaloniaUI
C#
9
star
9

gong-wpf-dragdrop-file-sample

Simple File drop sample with gong-wpf-dragdrop.
C#
9
star
10

WPFModernScrollbarStyle

A modern scrollbar style for WPF XAML
7
star
11

Show-Me-The-Templates-v2

A newer version adapted from the original Show Me The Templates!
C#
7
star
12

TextBoxInputMaskBehavior

TextBoxInputMaskBehavior from Blindmeis's Blog
C#
6
star
13

jekyll_datachart

Embed data charts with pace, elevation and heart rate that you recorded in a data file (tcx, slf, gpx and kml later?) in your octopress blog.
CoffeeScript
5
star
14

Pyout

My little Krakout clone called Pyout written in Python 3
Python
4
star
15

MahApps.Metro.Simple.Demo

A simple clean MahApps.Metro demo
C#
4
star
16

advent-of-code-2021

My™ Advent of Code 2021 solutions in C# and .NET 6
C#
3
star
17

MahApps.Frame.Navigation.Sample

A frame navigation sample together with MahApps.Metro
C#
3
star
18

KeyboardNavigationHack

Focus an element and shows the focus visual style too!
C#
3
star
19

MahApps.Metro.Test-v2.0

Test repository for MahApps.Metro v2.0
C#
3
star
20

advent-of-code-2022

My solutions for Advent of Code 2022 in TypeScript
TypeScript
3
star
21

advent-of-code-2020

My Solutions for Advent of Code 2020
TypeScript
3
star
22

exercism-JavaScript-Track

My funny JavaScript challange with the exercism JavaScript Track
JavaScript
2
star
23

MahApps.Metro.CustomTabItemStyle

A custom TabItem style for Left/Right TabStripPlacement
C#
2
star
24

Popcorn

🍿 A Powerful and Fast Popcorn Time
C#
2
star
25

ScreenToGifFindWindowTest

Contains 2 projects for ScreenToGif window finding
C#
2
star
26

MahApps.Metro.CustomDialog.Result.Sample

Another sample for a CustomDialog with a result
C#
2
star
27

mahapps.metro.docs.wyam

Testing Wyam
PowerShell
2
star
28

guessing_game

The guessing game from the Rust Documentation
Rust
2
star
29

BingMapsMahAppsSample

A short sample with BingMaps and MahApps.Metro
C#
2
star
30

MahApps.Metro.IconPacks.UWP.Prototype

The Prototype for MahApps.Metro.IconPacks.UWP
C#
2
star
31

MahApps.netcore31.UseFloatingWatermark

UseFloatingWatermark test for .Net Core 3.1
C#
1
star
32

dialog_validation_test

PowerShell
1
star
33

PrOXAML

A simple Kaxaml clone.
1
star
34

WPF.UserControl.Inside.TabControl

Shows loaded/unloaded bug in WPF when UserControl is inside TabControl/TabItem
C#
1
star
35

IconPacksTestApp

Simple UWP App which uses the MahApps.Metro.IconPacks
C#
1
star
36

MahApps.Metro.LinearGradientBrush.Theme.Sample

Sample for https://github.com/MahApps/MahApps.Metro/issues/3463
C#
1
star
37

SourceGenerators

C#
1
star
38

No_Intellisense_For_ResourceDictionaries

Demo for Intellisense bug with targeting .Net Core 3.0 and .Net 4.x
C#
1
star
39

DotNetCore30Test

Tests with .Net Core 3.0 and GongSolutions.WPF.DragDrop
C#
1
star
40

MahApps.Metro.AirspaceDecorator.Sample

Sample with the AirspaceDecorator from Microsoft.DwayneNeed together with MahApps.Metro
C#
1
star
41

strong-named-version-hell

This repo tries to understand strong naming with the new msbuild sdk csproj format
C#
1
star
42

TutorialsDownloader

Download Pluralsight videos, with valid credentials
C#
1
star
43

WPFSharedTest

Test for x:Shared="False"
C#
1
star