Diagram Adorners

2 posts, 0 answers
  1. Andrew
    Andrew avatar
    18 posts
    Member since:
    Sep 2012

    Posted 11 Dec 2012 Link to this post

    I am trying to restrict a RadDiagramShape to the bounds of another RadDiagramShape. When I manually set the position of the shape to keep it in the bounds of the other while draging it the adorners do not follow.

  2. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 13 Dec 2012 Link to this post

    Hi Andrew,
    Unfortunately at the moment there's no way to restrict the dragging, but this feature will be included in our next major release - Q1 2013. For now there's a partial workaround - you could handle the mouse move event and cancel the dragging in your mouse/shape is not in the diagram's viewport.
    I've attached a sample project with the workaround so could you please examine it and if you have further questions feel free to ask.

    Regards,
    Zarko
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top