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

Nested Shapes

Thread ID:

Created:

Updated:

Platform:

Replies:

45112 Jun 12,2006 01:07 PM UTC Jun 13,2006 05:56 AM UTC WinForms 1
loading
Tags: Diagram
Gokulraj Gopinathan
Asked On June 12, 2006 01:07 PM UTC

Can we position a rectangle inside another rectangle and moving the outer rectangle will move all its contained rectangle/other shapes? Can we use grouping approach for this? at the same time when we resize the parent it should not resize it children shapes

Administrator [Syncfusion]
Replied On June 13, 2006 05:56 AM UTC

Hi Gokul, You can create any number of Symbols as per your requirement by sub classing the Symbol class and adding your custom versions. If your intention is to,not allow the child nodes being resized when you resize the parent Symbol node, then, the way to go with this would be by using the GetChildByName() method, which will return the childnode matching the given name and update its properties with your requirements .Similarly, you can group the symbol nodes and update the properties of the child nodes as well. I have created a Sample implementing these features, please look into it and let me know if this helps you. Regards, Praveena.

CustomSymbols.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

;