Xml.XMLDoc.TXMLNode.OnHostChildNotify

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnHostChildNotify: TNodeListNotification read FOnHostChildNotify write FOnHostChildNotify;

C++

__property TNodeListNotification OnHostChildNotify = {read=FOnHostChildNotify, write=FOnHostChildNotify};

Properties

Type Visibility Source Unit Parent
event protected
Xml.XMLDoc.pas
Xml.XMLDoc.hpp
Xml.XMLDoc TXMLNode

Description

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

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.

See Also