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

Center DragCue

5 Answers 69 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 23 Sep 2010, 08:47 PM
I am currently dragging an element from a listbox  onto a canvas. I am setting my DragCue as an image that is inside the listbox element. The problem is that depending on where the user clicked in the listbox, the DragCue will show up in a different spot in relation to the cursor. Is there anyway to center the cursor on the DragCue at the start of the drag?

5 Answers, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 24 Sep 2010, 09:30 AM
Hello David,

Currently, you can achieve this by getting the relative position on mouse to the dragged element and create the appropriate translate transformation on the the drag cue that will center it.

In our next release we will also introduce properties that gives control on the drag cue offset in relational to the original position.

Kind regards,
Tsvyatko
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
David
Top achievements
Rank 1
answered on 24 Sep 2010, 05:24 PM
any idea when that next release will be?
0
Tsvyatko
Telerik team
answered on 24 Sep 2010, 05:40 PM
Hello David,

We are planning to release Q3 Beta  in the middle of the October, while the official Q3 will be available in the beginning of November.

Best wishes,
Tsvyatko
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Anatoly Chekh
Top achievements
Rank 1
answered on 16 Nov 2010, 12:11 PM
Hello!

Where is this property in Q3 November 2010 release?
And how I can center cue with it?

Thanks, Anatoly.
0
Tsvyatko
Telerik team
answered on 17 Nov 2010, 11:16 AM
Hello Anatoly Chekh,

The property is named DragCueOffset and can be used to set offset from from its standart position. I have prepared sample project demonstrating how you can center the drag cue using this property.

Best wishes,
Tsvyatko
the Telerik team
See What's New in RadControls for Silverlight in Q3 2010 on Tuesday, November 16, 2010 11:00 AM - 12:00 PM EST or 10:00 PM - 11:00 PM EST: Register here>>
Tags
DragAndDrop
Asked by
David
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
David
Top achievements
Rank 1
Anatoly Chekh
Top achievements
Rank 1
Share this question
or