?
Solved

Silverlight Drag & Drop controls at runtime

Posted on 2010-08-18
2
Medium Priority
?
660 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
The viewer will learn how to synchronize PHP projects with a remote server 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…

764 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