DocumentBase Events
Include Protected Members
Include Inherited Members
The DocumentBase type exposes the following members.
Events
Name | Description | |
---|---|---|
ActivateEvent | Occurs when the document becomes the active window. | |
BeforeClose | Occurs immediately before the document closes. | |
BeforeDoubleClick | Occurs when the editing area of the document window is double-clicked, before the default double-click action. | |
BeforePrint | Occurs before the document is printed. | |
BeforeRightClick | Occurs when the editing area of the document window is right-clicked, before the default right-click action. | |
BeforeSave | Occurs before the document is saved. | |
BindingContextChanged | Infrastructure. | |
BuildingBlockInsert | Occurs when a building block is inserted into a document. | |
CloseEvent | Occurs when the document is closed. | |
ContentControlAfterAdd | Occurs after a content control is added to a document. | |
ContentControlBeforeContentUpdate | Occurs just before Microsoft Office Word updates the text in a content control, if the content control is bound to a custom XML part. | |
ContentControlBeforeDelete | Occurs just before a content control is deleted from the document. | |
ContentControlBeforeStoreUpdate | Occurs just before Microsoft Office Word updates data in a custom XML part that is bound to the content control (that is, after the text in the content control changes). | |
ContentControlOnEnter | Occurs when the user clicks in a content control, or when the cursor is moved into a content control programmatically. | |
ContentControlOnExit | Occurs when the user clicks outside a content control, or when the cursor is moved outside a content control programmatically. | |
Deactivate | Occurs when the active document window loses focus. | |
Disposed | Infrastructure. | |
MailMergeAfterMerge | Occurs after all records in a mail merge have merged successfully. | |
MailMergeAfterRecordMerge | Occurs after each record in the data source successfully merges in a mail merge. | |
MailMergeBeforeMerge | Occurs when a merge is executed, before any records merge. | |
MailMergeBeforeRecordMerge | Occurs as a merge is executed for the individual records in a merge. | |
MailMergeDataSourceLoad | Occurs when the data source is loaded for a mail merge. | |
MailMergeWizardSendToCustom | Occurs when the custom button is clicked on step six of the Mail Merge Wizard. | |
MailMergeWizardStateChange | Occurs when a user changes from a specified step to a specified step in the Mail Merge Wizard. | |
New | Occurs when a new document is created. | |
Open | Occurs when the document is opened. | |
SelectionChange | Occurs when the selection changes in the document window. | |
Shutdown | Occurs when the document host item shuts down. | |
Startup | Occurs after the document is running and all the initialization code in the assembly has been run. | |
SyncEvent | Occurs when the local copy of a document that is part of a Document Workspace is synchronized with the copy on the server. | |
WindowSize | Occurs when the document window is resized or moved. | |
XMLAfterInsert | Occurs when a user adds a new XML element to a document. If more than one element is added to the document at the same time (for example, when cutting and pasting XML), the event is raised for each element that is inserted. | |
XMLBeforeDelete | Occurs when a user deletes an XML element from a document. If more than one element is deleted from the document at the same time (for example, when cutting and pasting XML), the event is raised for each element that is deleted. |
Top