Rotating a shape using its resizing handles is not supported out of the box. You could try to achieve it using custom code. What comes up to my mind is to create custom RotationService. Then using mouse events of the ManipulationAdorner and RadDiagram you can rotate the shape.
I have prepared a sample project which demonstrates this approach. You can additionally modify it, so it fits in your main application.
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.
but it is not exactly what I wanted because I need to rotate with resize the line
and in your attached code I can only rotate
Can you please modify your demo project that the resize and rotate will be in the same time
(during drag one corner the line's size will be changed according the mouse point and also rotate the line (as line in office word)
answered on 01 Aug 2019, 11:55 AM
I need to point here that triggering both services at the same time will cause conflict and unexpected behavior. The RadDiagram does not support this, and I would suggest you avoid such a scenario. In the attached project (from my previous reply), I have forbidden the resizing by handling the PreviewResize method. You can remove the setting of the Handled property.