The coordinate system of the RadDiagram is not directly related to the application's coordinates. When the diagram is not zoomed the coordinates match but when you zoom there is a noticeable difference based on the zoom factor.
However, the diagram exposes GetTransformedPoint() method that transforms a Point from the screen to a Point from the diagram.
Point p = context.MousePosition;
var transformedPoint =
A possible approach for finding the object that is right clicked is to listen for the MouseRightButtonDown event of the diagram and in its handler to get the shape that has its IsMouseOver property set to True. Here is an example:
var shapeUnderMouse =
.diagram.Shapes.FirstOrDefault(x => x.IsMouseOver);
// execute your logic here
Please let me know if this helps.
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos
and start improving your app based on facts, not hunches.