GoXam for WPF v3
DoMemberNodeKeyAdded Method (GraphModel<NodeType,NodeKey>)
Northwoods.GoXam.Model Namespace > GraphModel<NodeType,NodeKey> Class : DoMemberNodeKeyAdded Method
the modified node data
the key for the added "member" node data
This should be called when a "member" node data key has been added to the collection of "member" node keys.
Syntax
public void DoMemberNodeKeyAdded( 
   NodeType nodedata,
   NodeKey memberkey
)

Parameters

nodedata
the modified node data
memberkey
the key for the added "member" node data
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.

If the list of "member" keys implements System.Collections.Specialized.INotifyCollectionChanged the model will automatically call this method. Otherwise, you need to do so immediately after the value of FindMemberNodeKeysForNode has changed.

This raises a Changed event with a value of ModelChange.AddedMemberNodeKey.

See Also

Reference

GraphModel<NodeType,NodeKey> Class
GraphModel<NodeType,NodeKey> Members