Solved

Silverlight Drag & Drop controls at runtime

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

803 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