How do I get the drag values (x,y coordinates) of a shape object as it is being dragged within the diagram? I see there is a Drag event, but I am uncertain how to get the objects' position after a drag.
1 Answer, 1 is accepted
0
Accepted
Dimitar
Telerik team
answered on 01 Feb 2017, 08:40 AM
Hello Daniel,
The following code snippet shows how you can get the location of the dragged element:
public RadForm1()
{
InitializeComponent();
var ds = this.radDiagram1.ServiceLocator.GetService<IDraggingService>() as DraggingService;