In order to calculate the exact position of the mouse you can take into account the current position of the Viewport
of the RadDiagram
control. This position shows how much and in which direction you have panned. You can calculate this position by getting the Viewport
Furthermore, when you have that position, you need to sum the Left
property and the X
property of your click position (also the Top
and the Y
) to open the ContextMenu
inside the current viewport.
I hope this information is helpful.
Pavel R. Pavlov
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>