Center DragCue

6 posts, 0 answers
  1. David
    David avatar
    7 posts
    Member since:
    Jun 2009

    Posted 23 Sep 2010 Link to this post

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

    Posted 24 Sep 2010 Link to this post

    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
  3. DevCraft banner
  4. David
    David avatar
    7 posts
    Member since:
    Jun 2009

    Posted 24 Sep 2010 Link to this post

    any idea when that next release will be?
  5. Tsvyatko
    Admin
    Tsvyatko avatar
    833 posts

    Posted 24 Sep 2010 Link to this post

    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
  6. Anatoly Chekh
    Anatoly Chekh avatar
    86 posts
    Member since:
    Apr 2010

    Posted 16 Nov 2010 Link to this post

    Hello!

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

    Thanks, Anatoly.
  7. Tsvyatko
    Admin
    Tsvyatko avatar
    833 posts

    Posted 17 Nov 2010 Link to this post

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