XmlEvent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implements the events raised by changes to the data in the underlying XML document of a form instance.
public ref class XmlEvent abstract
public abstract class XmlEvent
type XmlEvent = class
Public MustInherit Class XmlEvent
- Inheritance
-
XmlEvent
Remarks
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.
Constructors
XmlEvent() |
Properties
RaiseUndoRedoForChanged |
Gets or sets whether the Changed event will be raised when an undo or redo operation occurs. |
Events
Changed |
Occurs after changes to a form's underlying XML document have been accepted and after the Validating event has occurred. |
Changing |
Occurs after changes to a form's underlying XML document have been made but before the changes have been accepted. |
Validating |
Occurs after changes to a form's underlying XML document have been accepted but before the Changed event has occurred. |