Click here to Skip to main content
11,935,031 members (55,047 online)
Rate this:
Please Sign up or sign in to vote.
See more: C#
Hi there...

Just wanted to question if anyone of you know a way to drag and drop items (like buttons) from a stackpanel to another container type (could be a stackpanel too).
Ty for the help
Posted 12-Sep-12 7:37am
Wes Aday 12-Sep-12 12:40pm
"way to drag and drop items ", I do not know about you but I use my mouse to drag and drop item within a drag and drop enabled application.
Sergey Alexandrovich Kryukov 12-Sep-12 14:18pm
direct_acess 13-Sep-12 10:17am
The environment That I'm using is C# ;)
Sergey Alexandrovich Kryukov 13-Sep-12 12:19pm
No need to tell that: it was in your tags in first place. What you have to tag is the UI library of application type you are using (WPF? Forms? ASP.NET? Silverlight? Metro? what?)
direct_acess 21-Sep-12 9:32am
Sorry... WPF

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You did not specify the environment. If you want to work with wpf, then can look at the following: Drag and drop user controls in wpf[^]
Sergey Alexandrovich Kryukov 13-Sep-12 12:26pm
You are right. So, this post may or may not be relevant.

I would like we practiced not answering until OP specifies the detail enough to avoid providing excessive information. For example, drag-and-drop can be applicable to WPF, Forms, Silverlight, ASP.NET, Metro, Windows Phone, and even, say, Android or Cocoa for Mac OS X and iOS (which can be developed with C# using Mono + MonobjC), so, should we bring all the solutions? The only right thing is to wait until OP clarifies that; if not -- the question should better be removed -- there is too many of such questions.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web03 | 2.8.151126.1 | Last Updated 12 Sep 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100