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

Drag Cue Off Significantly

5 Answers 80 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Sean
Top achievements
Rank 1
Sean asked on 22 Aug 2011, 03:03 PM
What does the RadDragAndDropManager framework use to determine the position of the mouse cursor in relation to the mouse cursor? It's off significantly for me. The farther right I move, the more the cue drifts away from the mouse cursor. It gets closer as I move to the left of the window, but at its closest point, it's still at least an inch away. I'm aware of the RadDragAndDropManager.DragCueOffset property, but it seems the offset varies on different computers.

5 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 25 Aug 2011, 08:25 AM
Hello Sean,

Please take a look at this forum thread. Does it correspond to the case you are dealing with ?
 

Best wishes,
Maya
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Sean
Top achievements
Rank 1
answered on 25 Aug 2011, 02:52 PM
Unfortunately no, it doesn't apply.

I'm referring to the template you use to indicate the object being dragged. For example, in this sample, you the following XAML to create a cue that indicates which image you're dragging:

<DataTemplate x:Key="ApplicationDragTemplate">
    <Image Source="{Binding IconPath}" />
</DataTemplate>

The problem I'm experiencing is the image is nowhere near the mouse cursor. It's the same affect you would expect to see if you obtain the mouse cursor position relative to the wrong object.
0
Tsvyatko
Telerik team
answered on 29 Aug 2011, 07:49 AM
Hi Sean,

 Would it be possible to share some additional information about the version of our controls you are currently using as well as any specifics regarding the described scenario - using right to left (how it is set), using horizontal alignment stretch in parent viewbox container, using customized pop-ups or customized root windows. This will help us get better idea of the current problem and suggest suitable solution.

Best wishes,
Tsvyatko
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Sean
Top achievements
Rank 1
answered on 29 Aug 2011, 02:20 PM
Hi Tsvyatko,

Assuming the product version is correct (Right click Telerik.Windows.Controls.dll in Windows Explorer -> Properties -> Details tab) we're using 2011.2.0712.40.

We're not using right to left. The parent control (a RadMap) is both horizontally and vertically stretched. Ultimately, these make up a UserControl, which re-sizes dynamically and is then hosted inside of another UserControl through a RadTransitionControl. There are no customized pop-ups.

Thank you.
0
Maya
Telerik team
answered on 01 Sep 2011, 04:21 PM
Hello Sean,

May you try to remove the setting of "Stretch" settings ? Do you continue to get the same result ? If not, will it be possible to share a bit more details about your application - what is its structure, how the elements are set ? Generally, any relevant information or code-snippet would be helpful.
  

Kind regards,
Maya
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
DragAndDrop
Asked by
Sean
Top achievements
Rank 1
Answers by
Maya
Telerik team
Sean
Top achievements
Rank 1
Tsvyatko
Telerik team
Share this question
or