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

Diagram Adorners

1 Answer 62 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 11 Dec 2012, 02:27 PM
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.

1 Answer, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 13 Dec 2012, 09:41 AM
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.

Tags
Diagram
Asked by
Andrew
Top achievements
Rank 1
Answers by
Zarko
Telerik team
Share this question
or