GoXam for WPF v3
DoNodeAdded Method (IDiagramModel)
Northwoods.GoXam.Model Namespace > IDiagramModel Interface : DoNodeAdded Method
This should be called when a node data object is added to the NodesSource collection.
Syntax
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.

See Also

Reference

IDiagramModel Interface
IDiagramModel Members