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

Hide Rotation Handles

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

1 Reply

AA Amsath Ali M Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon