GoXam for WPF v3
DoChildNodeKeyAdded Method (TreeModel<NodeType,NodeKey>)
Northwoods.GoXam.Model Namespace > TreeModel<NodeType,NodeKey> Class : DoChildNodeKeyAdded Method
the modified node data
the key for the added child node data
This should be called when a child node data has been added to the collection of child nodes.
Syntax
public void DoChildNodeKeyAdded( 
   NodeType nodedata,
   NodeKey childkey
)

Parameters

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

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

See Also

Reference

TreeModel<NodeType,NodeKey> Class
TreeModel<NodeType,NodeKey> Members