ApplicationEvents Interface

Définition

Collection d’objets d’événements représentant une application InfoPath.

public interface class ApplicationEvents : Microsoft::Office::Interop::InfoPath::SemiTrust::ApplicationEventsEmpty
[System.Runtime.InteropServices.Guid("096cd784-0786-11d1-95fa-0080c78ee3bb")]
public interface ApplicationEvents : Microsoft.Office.Interop.InfoPath.SemiTrust.ApplicationEventsEmpty
type ApplicationEvents = interface
    interface ApplicationEventsEmpty
Public Interface ApplicationEvents
Implements ApplicationEventsEmpty
Attributs
Implémente

Remarques

Ce type est le wrapper d’une coclasse requise par le code managé pour l’interopérabilité COM. Utilisez ce type pour accéder aux membres de l’interface COM implémentée par cette coclasse. Pour plus d’informations sur l’interface COM, y compris un lien vers les descriptions de ses membres, consultezMicrosoft.Office.Interop.InfoPath.SemiTrust._ApplicationEvents .

La collection ApplicationEvents contient des objets d’événements utilisés principalement avec des compléments COM pour capturer des événements au niveau de l’ application. Il peut s’agir notamment des événements suivants :

Microsoft.Office.Interop.InfoPath.SemiTrust._ApplicationEvents.NewXDocument(Microsoft.Office.Interop.InfoPath.SemiTrust._XDocument) ÉvénementSe produit lorsqu'un nouveau formulaire est créé.
Microsoft.Office.Interop.InfoPath.SemiTrust._ApplicationEvents.Quit ÉvénementSe produit lorsque l’utilisateur quitte InfoPath.
Microsoft.Office.Interop.InfoPath.SemiTrust._ApplicationEvents.WindowActivate(Microsoft.Office.Interop.InfoPath.SemiTrust._XDocument,Microsoft.Office.Interop.InfoPath.SemiTrust.Window) ÉvénementSe produit lors de l'activation d'une fenêtre de document.
Microsoft.Office.Interop.InfoPath.SemiTrust._ApplicationEvents.WindowDeactivate(Microsoft.Office.Interop.InfoPath.SemiTrust._XDocument,Microsoft.Office.Interop.InfoPath.SemiTrust.Window) ÉvénementSe produit lors de la désactivation d'une fenêtre de document.
Microsoft.Office.Interop.InfoPath.SemiTrust._ApplicationEvents.WindowSize(Microsoft.Office.Interop.InfoPath.SemiTrust._XDocument,Microsoft.Office.Interop.InfoPath.SemiTrust.Window) ÉvénementSe produit lorsqu’une fenêtre de document est redimensionnée ou déplacée.
Microsoft.Office.Interop.InfoPath.SemiTrust._ApplicationEvents.XDocumentBeforeClose(Microsoft.Office.Interop.InfoPath.SemiTrust._XDocument,System.Boolean@) ÉvénementSe produit immédiatement avant la fermeture d'un document.
Microsoft.Office.Interop.InfoPath.SemiTrust._ApplicationEvents.XDocumentBeforePrint(Microsoft.Office.Interop.InfoPath.SemiTrust._XDocument,System.Boolean@) ÉvénementSe produit juste avant l’impression d’un des documents ouverts.
Microsoft.Office.Interop.InfoPath.SemiTrust._ApplicationEvents.XDocumentBeforeSave(Microsoft.Office.Interop.InfoPath.SemiTrust._XDocument,System.Boolean@) ÉvénementSe produit juste avant l’enregistrement d’un des documents ouverts.
Microsoft.Office.Interop.InfoPath.SemiTrust._ApplicationEvents.XDocumentChange ÉvénementSe produit lorsqu’un formulaire est créé, lorsqu’un formulaire est ouvert ou lorsqu’un autre formulaire est activé.
Microsoft.Office.Interop.InfoPath.SemiTrust._ApplicationEvents.XDocumentOpen(Microsoft.Office.Interop.InfoPath.SemiTrust._XDocument) ÉvénementSe produit à l'ouverture d'un document.

Microsoft InfoPath prend en charge les compléments COM pour étendre l’expérience utilisateur lors de la modification. La prise en charge des compléments COM dans InfoPath est disponible dans l’environnement d’édition du formulaire. L’environnement de conception de formulaire ne peut pas être étendu via l’utilisation de compléments COM. Pour plus d’informations sur l’utilisation de la collection ApplicationEvents et la création d’un complément COM pour InfoPath, voir How To : Create a COM Add Custom Features to InfoPath..

S’applique à