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

How to get only RoundRect out of DiagramWebControl.Model.Nodes?

Hello 
Anjanaa here again. 
My DiagramWebControl.Model has some 10 nodes out of which I have 5 nodes are RoundRect. How to get only those RoundRect nodes? 

Thanks
Anjanaa

2 Replies

AP Anjanaa Parasuraman August 11, 2014 02:39 AM UTC

I figured out the answer. 
IEnumerable<RoundRect> r = diagram.Key.Model.Nodes.Members.OfType<RoundRect>();

Thanks
Anjanaa


AK Ashok Kumar V Syncfusion Team August 11, 2014 10:40 AM UTC

Hi Anjanna,

Thanks for your update.

We are happy to hear that you have found the answer.

Please let us know if you have any queries.

Regards,
Ashok Kumar.

Loader.
Live Chat Icon For mobile
Up arrow icon