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

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

Thread ID:





117096 Aug 11,2014 02:01 AM UTC Aug 11,2014 10:40 AM UTC ASP.NET Web Forms (Classic) 2
Tags: DiagramWebControl
Anjanaa Parasuraman
Asked On August 11, 2014 02:01 AM UTC

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? 


Anjanaa Parasuraman
Replied On August 11, 2014 02:39 AM UTC

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


Ashok Kumar V [Syncfusion]
Replied On 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.

Ashok Kumar.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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