Xml.XMLDoc.TXMLNode.OnHostAttrNotify
Delphi
property OnHostAttrNotify: TNodeListNotification read FOnHostAttrNotify write FOnHostAttrNotify;
C++
__property TNodeListNotification OnHostAttrNotify = {read=FOnHostAttrNotify, write=FOnHostAttrNotify};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | protected | Xml.XMLDoc.pas Xml.XMLDoc.hpp |
Xml.XMLDoc | TXMLNode |
Description
Occurs when changes occur to the attribute list of this node's HostNode.
Use the OnHostAttrNotify 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 attribute list.
The AttributeListNotify method of a host node generates an OnHostAttrNotify event on all of its hosted nodes. This allows the hosted nodes (for example, the nodes that represent a subset of the child nodes that are all the same type) to update their own representation of node attributes so that they reflect the attributes of the host node.