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

Rotate a Node from code

Is it possible to rotate а Node from the code?

1 Reply

NA Nikhil A Syncfusion Team October 7, 2009 07:26 AM UTC

Hi,

Thanks for your interest in Syncfusion products.

It is surely possible to programmatically rotate the node using RotateTransform logic. The following code can be used to rotate the node 45 degrees:

RotateTransform rotateTransform = new RotateTransform(45);
nodeobj.RenderTransform = rotateTransform;

where nodeobj is the instance of the node which is to be rotated.

Please let us know if there are any concerns.

Regards,
Nikhil
Syncfusion WPF Team.

Loader.
Live Chat Icon For mobile
Up arrow icon