I am getting different XY coordinates on the CompleteDragging event than what the actual shape XY coordinates are (see image file). Any clue how to get the correct XY coordinates? It seems like I am getting the XY of the center of the shape. Below is the code I am using:
private
void
DragService_CompleteDragging(
object
sender, PositionChangedEventArgs e)
{
label13.Text = $
"{e.NewPosition.X},{e.NewPosition.Y}"
;
foreach
(var shape
in
radDiagram1.Shapes)
{
var myShape = shape
as
RadDiagramShape;
if
(myShape.Text == _asset.AssetTag)
{
label14.Text = $
"{myShape.X},{myShape.Y}"
;
break
;
}
}
}