GoXam for WPF v3
DoParentNodeChanged Method (TreeModel<NodeType,NodeKey>)
Northwoods.GoXam.Model Namespace > TreeModel<NodeType,NodeKey> Class : DoParentNodeChanged Method
the modified node data
This should be called when a node data's tree parent may have changed.
Syntax
public void DoParentNodeChanged( 
   NodeType nodedata
)

Parameters

nodedata
the modified 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 a node data object implements System.ComponentModel.INotifyPropertyChanged and if the key is a simple property on the data as reflected by the value of ParentNodePath, the model will automatically call this method. Otherwise, you need to do so immediately after the value of FindParentNodeKeyForNode has changed.

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

See Also

Reference

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