AD
Administrator
Syncfusion Team
December 21, 2005 07:45 PM UTC
Rajkumar,
The Diagram.ChildrenChangeComplete event is fired whenever a new node is added to the diagram. In your case the ChildrenChangeComplete event is being generated because a new symbol has already been created in response to the drag-drop event, and was just added to the diagram. So instead of creating a new symbol inside your ChildrenChangeComplete event, you should simply use the event argument to get hold of the recently created symbol instance, and assign the data that you obtained from the user to this symbol. You could use a uniquely identifiable Name property that was assigned to the SymbolModel while designing it(or to the Symbol class definition) to determine if the recently added node is an instance of your symbol type.
Prakash Surendra
Syncfusion Inc.,