XmlEvent class
Implements the events raised by changes to the data in the underlying XML document of a form instance.
Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)
The XmlEvent class implements the document-level events raised by changes to the data in the underlying XML document of a form instance created using an InfoPath form template. The form-level events raised by the actions performed on the form template itself, such as loading a form or changing a view, are handled separately and implemented by the FormEvents type.
Important |
|---|
The XmlEvent class itself is not meant to be instantiated by the developer in form code. When you add an event handler to your form template from the design mode user interface, Microsoft InfoPath generates code in the InternalStartup method of your form code file using the EventManager class and members of the XmlEvent class to bind document-level events to their event handlers. For information on how to add event handlers in InfoPath design mode, see How to: Add an Event Handler. |
Important