XmlEventArgs Class (Microsoft.Office.InfoPath)
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)
The XmlEventArgs object is passed to the event handler for the Changed event, which occurs after changes to the form's underlying XML document have been accepted and the Validating event has occurred. The XmlEventArgs object provides a number of properties that can be used within the event handler to programmatically interact with the data that is being changed in the form's underlying XML document and to get information about the node that is being changed.
The XmlEventArgs object provides the Site property which gets a reference to an XPathNavigator object that that is positioned at the node that is being changed, and can be used to work with this node and other data in a form's underlying XML document.