RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLNode.OnHostChildNotify Event

Occurs when changes occur to the list of child nodes on this node's HostNode.

Pascal
property OnHostChildNotify: TNodeListNotification;
C++
__property TNodeListNotification OnHostChildNotify;

Use the OnHostChildNotify event to update a TXMLNode descendant that represents a hosted node (such as a collection of repeating child elements) when the host node changes its list of child nodes. For example, TXMLNodeCollection assigns its UpdateCollectionList method as an OnHostChildNotify event handler so that its list of repeating child elements reflects any changes to the host node's list of child nodes. 

The ChildListNotify method of a host node generates an OnHostChildNotify event on all of its hosted nodes. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!