Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Drag drop
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
Comments
Wes Aday at 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 at 12-Sep-12 14:18pm
   
:-)
direct_acess at 13-Sep-12 10:17am
   
The environment That I'm using is C# ;)
Sergey Alexandrovich Kryukov at 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?)
--SA
direct_acess at 21-Sep-12 9:32am
   
Sorry... WPF

1 solution

Rate this: bad
good
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[^]
  Permalink  
Comments
Sergey Alexandrovich Kryukov at 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.
--SA

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

  Print Answers RSS
0 Maciej Los 230
1 OriginalGriff 202
2 Richard MacCutchan 185
3 Tomas Takac 146
4 CPallini 125
0 OriginalGriff 5,130
1 DamithSL 4,237
2 Maciej Los 3,700
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,846


Advertise | Privacy | Mobile
Web02 | 2.8.141216.1 | Last Updated 12 Sep 2012
Copyright © CodeProject, 1999-2014
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