We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Panning with Ctrl + Drag?

Is there native support to move around the diagram using Ctrl+click and drag?

Thanks,
John


1 Reply

AA Amsath Ali M Syncfusion Team November 11, 2011 03:54 AM UTC

Hi Johnathan,

Thanks for your interest in Syncfusion products.

The Diagram control has inbuilt panning support. You can activate the ‘PanTool’ using Diagram.Controller’s ‘ActivateTool’ method. Please refer the below code snippet to activate the PanTool.

Here is the code:
[C#]
this.diagram1.Controller.ActivateTool("PanTool");

Here is the Sample:
ForumPanning-1670606130.zip

Please try the above sample and let us know if you have any queries.

Regards,
Amsath Ali. M



Loader.
Live Chat Icon For mobile
Up arrow icon