?
Solved

Silverlight Drag & Drop controls at runtime

Posted on 2010-08-18
2
Medium Priority
?
667 Views
Last Modified: 2013-11-12
Hi,
i would like to know how to make my controls Drag and Droppable at runtime but without using a
canvas. I am having layout issue when using a canvas.

The controls are at different position in the screen.


Thanks in advance.
0
Comment
Question by:Enill
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
vbigham earned 2000 total points
ID: 33533309
You may be able to use a grid instead of the canvas, but all your controls would require something like a TranslateTransform, or a CompositeTransform (you can change the position with TranslateX, and TranslateY).  I have used these to move objects around a page (without any dragging/dropping though) and it was nice in a way because 0,0 is at the center of your container grid.
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question