Controlling the position of the drag cue

5 posts, 0 answers
  1. Graham
    Graham avatar
    11 posts
    Member since:
    Jan 2010

    Posted 11 Jan 2010 Link to this post

    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.
  2. Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 12 Jan 2010 Link to this post

    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.
  3. DevCraft banner
  4. Graham
    Graham avatar
    11 posts
    Member since:
    Jan 2010

    Posted 13 Jan 2010 Link to this post

    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
  5. Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 13 Jan 2010 Link to this post

    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
  6. Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 18 Jan 2010 Link to this post

    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.
Back to Top
DevCraft banner