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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hide Rotation Handles

Thread ID:

Created:

Updated:

Platform:

Replies:

110504 Aug 7,2013 04:24 PM UTC Aug 27,2013 06:16 AM UTC WinForms 1
loading
Tags: Diagram
Steve Winslade
Asked On August 7, 2013 04:24 PM UTC

Hi,
I want to hide the rotation handles for some custom controls I am adding to your diagram component.

I found the following forum entry, but the samples do not resolve. Can you please provide me with an updated sample?

Thanks,

Steve

Amsath Ali M [Syncfusion]
Replied On August 27, 2013 06:16 AM UTC

Hi Steve,

 

Thanks for your interest in Syncfusion products.

 

We suggest you to set the Node.EditStyle’s ‘HideRotationHandle’ property to ‘true’ to hide the rotation handle. Please refer the below code snippet to achieve your requirement.

 

Here is the code:

[C#]

Syncfusion.Windows.Forms.Diagram.Rectangle rect = new Syncfusion.Windows.Forms.Diagram.Rectangle(100, 100, 100, 70);

            //Hides the rotation handle

            rect.EditStyle.HideRotationHandle = true;

            //Hides the Pinpoint handle

            rect.EditStyle.HidePinPoint = true;

            diagram1.Model.AppendChild(rect);

 

Please refer the below attached the sample and let us know if you have any queries.

 

Regards,

Amsath Ali. M



F110504_9fd2cc91.zip

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

;