Share via


_ApplicationEvents_Event Members

This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seeApplicationEvents.

The following tables list the members exposed by the _ApplicationEvents_Event type.

Public Events

  Name Description
Public event NewXDocument Occurs when a new form is created.
Public event Quit Occurs when the user quits InfoPath.
Public event WindowActivate Occurs when any document window is activated.
Public event WindowDeactivate Occurs when any document window is deactivated.
Public event WindowSize Occurs when any document window is resized or moved.
Public event XDocumentBeforeClose Occurs immediately before any open document closes.
Public event XDocumentBeforePrint Occurs immediately before any open document is printed.
Public event XDocumentBeforeSave Occurs immediately before any open document is saved.
Public event XDocumentChange Occurs when a new form is created, when an existing form is opened, or when another form is made the active form.
Public event XDocumentOpen Occurs when a document is opened.

Top

See Also

Reference

_ApplicationEvents_Event Interface
Microsoft.Office.Interop.InfoPath Namespace