Solved

Silverlight Drag & Drop controls at runtime

Posted on 2010-08-18
2
649 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 500 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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

695 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