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

MDI symbol

Thread ID:

Created:

Updated:

Platform:

Replies:

20767 Oct 25,2004 03:08 PM UTC Oct 25,2004 06:57 PM UTC WinForms 1
loading
Tags: Diagram
Administrator [Syncfusion]
Asked On October 25, 2004 03:08 PM UTC

Hi, I would have a MDI interface. Each child form is a windows form plus a diagram. 1, when dragging a symbol in a diagram, since there are many diagrams, how can I set the OWNER of this symbol. 2, Since many child forms, and diagrams, how I can search a specific diagram and get all symbols from it? Thanks, Chris

Administrator [Syncfusion]
Replied On October 25, 2004 06:57 PM UTC

Hi Chris, 1. Can you post some more information on what you are seeking to do. 2. The Diagram''s Model has a Nodes Collection that you can iterate through to do what you are seeking. Here is a code snippet that demonstrates how you can get the names of all instances of a custom symbol (MySymbol) in a Diagram (diagram1): IEnumerator enumnodes = this.diagram1.Model.Nodes.GetEnumerator(); //Iterate through the enumerator while (enumnodes.MoveNext()) { INode node = enumnodes.Current as INode; if (node.GetType() == typeof(MySymbol)) { Debug.WriteLine(node.Name); } } Regards Arun

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

;