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

Parameters

nodedata
the modified node data
tokey
the key for the removed "to" 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 "to" keys implements System.Collections.Specialized.INotifyCollectionChanged the model will automatically call this method. Otherwise, you need to do so immediately after the value of FindToNodeKeysForNode has changed.

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

See Also

Reference

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