Drag Cue Off Significantly

6 posts, 0 answers
  1. Sean
    Sean avatar
    10 posts
    Member since:
    Aug 2011

    Posted 22 Aug 2011 Link to this post

    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.
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 25 Aug 2011 Link to this post

    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 >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Sean
    Sean avatar
    10 posts
    Member since:
    Aug 2011

    Posted 25 Aug 2011 Link to this post

    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.
  5. Tsvyatko
    Admin
    Tsvyatko avatar
    833 posts

    Posted 29 Aug 2011 Link to this post

    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 >>

  6. Sean
    Sean avatar
    10 posts
    Member since:
    Aug 2011

    Posted 29 Aug 2011 Link to this post

    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.
  7. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 01 Sep 2011 Link to this post

    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 >>

Back to Top
UI for WPF is Visual Studio 2017 Ready