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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Is there a way to deactivate the orthogonal tool by simply clicking on white space?

Thread ID:

Created:

Updated:

Platform:

Replies:

118143 Feb 4,2015 06:53 PM UTC Feb 5,2015 10:41 AM UTC ASP.NET Web Forms 1
loading
Tags: Diagram
Jim Jacobs
Asked On February 4, 2015 06:53 PM UTC

Hi,

I love the orthogonal tool, but once I've finished connecting my shapes I have to go back to my toolbar and select the pointer which results in a diagram.deactivateTool().
What we'd like to be able to do is simply click anywhere in the white-space of the diagram and have the tool deactivate.

Is this possible?

Many thanks for any suggestions or code snippets.

Jim

Kameshwaran R [Syncfusion]
Replied On February 5, 2015 10:41 AM UTC

Hi Jim,

Thanks for your interest in Syncfusion product.

We suggest you to use the overload method of activateTool which automatically deactivates the orthogonal tool once the connector is created. We have created the simple sample to demonstrate this and sample can be downloaded from the below link.

Here is the code snippet.

diagram.activateTool("orthogonalLine", true);

Here is the sample.

DrawOnce1530570158.zip

Please let me know if you have any quires.

Regards,

Kameshwaran R.

 



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;