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
Solved

Silverlight Drag & Drop controls at runtime

Posted on 2010-08-18
2
635 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
2 Comments
 
LVL 16

Expert Comment

by:Vikram Singh Saini
ID: 33502350
0
 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

808 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