Hi ,I'm Using The sample of Custom Connectors Tools, But after I zoom the Diagram,and Then I use Control+Shift+mouse click to add a custom connector ,It can not add a Correct Connector on the shape, Where should I modify the code?Thanks
2 Answers, 1 is accepted
0
Dinko | Tech Support Engineer
Telerik team
answered on 19 May 2020, 06:50 AM
Hello Li,
Thank you for your interest in our RadDiagram control for WPF.
To calculate the correct position when the diagram is zoom, you need to use the GetTransformedPoint() method of the RadDiagram. You can check the modified version of the MouseDown event handler from the mentioned example in your post.
Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic. Our thoughts here at Progress are with those affected by the outbreak.