This is a migrated thread and some comments may be shown as answers.

Controlling the position of the drag cue

4 Answers 107 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Graham
Top achievements
Rank 1
Graham asked on 11 Jan 2010, 09:15 AM
We are using drag and drop to drag objects around a 'physical area/canvas' and drop them onto to specific spots.
When dragging the object we want the cursor to be in the middle of the drag cue.
When the cursor gets within a certain radius of a spot we want the drag cue to snap to the spot and be rotated to the default orientation for the spot. Once the drag cue has 'snapped to spot' the cursor can move around within the radius from the spot without moving the drag cue when the cursor leaves that radius then the drag cue is then moved to the middle of the cursor.
Basically as the mouse is being moved (during a drag drop operation) I need to be able to control where the drag cue is located.

4 Answers, 1 is accepted

Sort by
0
Miroslav
Telerik team
answered on 12 Jan 2010, 03:09 PM
Hello Graham,

Unfortunately currently there is no way to control the position of the DragCue programmatically. We have seen similar requests before and your feedback gives this a higher priority.

Currently if you assign a visual to the DragCue, its RenderTransform can be set to for example a TranslateTransfrom that will allow you to move the visual around relative to its current position. Unfortunately calculating the position relative to your drop spot and updating it may be a bit cumbersome.

All the best,
Miroslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Graham
Top achievements
Rank 1
answered on 13 Jan 2010, 03:24 PM
Hello Miroslav

Thanks very much for your reply.
Can you tell me or keep me informed about the likely date that telerik will implement controlling the location of the drag cue?
If telerik are going to implement this that would be great and much appreciated - hopefully within our project timescales.
If not we will either have to implement our own drag and drop or be able to update the telerik code so that we can modify the drag and drop behaviour.

All the best
Graham
0
Miroslav
Telerik team
answered on 14 Jan 2010, 12:49 AM
Hello Graham,

I added a note to the work item and I will follow up when we schedule it.

Recently we have seen more people ask about it so there is a chance that it will be included in the 2010. Q1 release but I do not want to promise anything until we plan it.

Best wishes,
Miroslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs
0
Miroslav
Telerik team
answered on 18 Jan 2010, 09:08 AM
Hi Graham,

I just wanted to follow up on this. Do you know we have a new public issue tracking system?

You can track and vote for this feature here:

http://www.telerik.com/support/pits.aspx#/public/silverlight/2010-q1/details/516


Best wishes,
Miroslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
DragAndDrop
Asked by
Graham
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
Graham
Top achievements
Rank 1
Share this question
or