Northwoods.GoWPF 2.2.4 Assembly
DoNodeAdded Method (IDiagramModel)

This should be called when a node data object is added to the NodesSource collection.
Syntax
Sub DoNodeAdded( _
   ByVal nodedata As Object _
) 
void DoNodeAdded( 
   object nodedata
)

Parameters

nodedata
Remarks

This is used for model update, when the model data has changed and the model itself needs to be updated to reflect those changes. Note that this method is universal, because it can only assume the node data is of type System.Object. The corresponding methods in the generic model classes operate on a specific node data type.

If the NodesSource collection implements INotifyCollectionChanged, the model will automatically call this method. Otherwise, you need to do so immediately after the NodesSource has been augmented.

Requirements
See Also

Reference

IDiagramModel Interface
IDiagramModel Members

 

 


© Northwoods Software 2017. All Rights Reserved.

Send Feedback