Export (0) Print
Expand All
Expand Minimize

Microsoft.Office.Tools.Word Namespace

The Microsoft.Office.Tools.Word namespace contains types that extend and support the Microsoft Office Word object model in projects created by using the Office development tools in Visual Studio. For more information about these projects, see Office Project Templates Overview.

The Microsoft.Office.Tools.Word namespace includes the following main types:

  ClassDescription
Public classControlExtensionsProvides extension methods you can use to add Windows Forms controls to a Word document that has been customized by using the Office development tools in Visual Studio.
Public classDocumentBaseProvides the base class for the ThisDocument class in document-level projects for Microsoft Office Word.

  InterfaceDescription
Public interfaceActionRepresents a smart tag action in a Word document that is customized by using the Office development tools in Visual Studio.
Public interfaceActionEventArgsProvides data for the Click and BeforeCaptionShow events. This type or member is intended to be used only in projects for the 2007 Microsoft Office system. Smart tags are deprecated in Office 2010.
Public interfaceApplicationFactoryProvides methods you can use to perform miscellaneous tasks in application-level add-ins, such as extending native Word documents and creating Ribbon controls at run time.
Public interfaceBookmarkThe Bookmark control is a bookmark that has a unique name, exposes events, and can be bound to data.
Public interfaceBookmark_InformationTypeInfrastructure.
Public interfaceBookmark_XMLTypeInfrastructure.
Public interfaceBuildingBlockGalleryContentControlRepresents a gallery of document building blocks that users can insert into a document.
Public interfaceClickEventArgsProvides data for the BeforeDoubleClick and BeforeRightClick events.
Public interfaceComboBoxContentControlRepresents a combo box on a document.
Public interfaceContentControlRepresents a content control a document.
Public interfaceContentControlAddedEventArgsProvides data for the Added event of a content control.
Public interfaceContentControlBaseProvides the base interface for content controls in Word solutions created by using the Office development tools in Visual Studio.
Public interfaceContentControlContentUpdatingEventArgsProvides data for the ContentUpdating event of a content control.
Public interfaceContentControlDeletingEventArgsProvides data for the Deleting event of a content control.
Public interfaceContentControlEnteringEventArgsProvides data for the Entering event.
Public interfaceContentControlExitingEventArgsProvides data for the Exiting event of a content control.
Public interfaceContentControlStoreUpdatingEventArgsProvides data for the StoreUpdating event of a content control.
Public interfaceContextChangeEventArgsProvides data for the Select, Deselect, ContextEnter and ContextLeave events of an XMLNode object and the ContextEnter, ContextLeave, Select, and Deselect events of an XMLNodes object.
Public interfaceControlCollectionRepresents a collection of managed controls on a Word document that has been customized by using the Office development tools in Visual Studio.
Public interfaceControlSiteRepresents a linked or embedded control on a document.
Public interfaceDatePickerContentControlRepresents a date picker control on a document.
Public interfaceDocumentRepresents a document in Word projects created by using the Office development tools in Visual Studio.
Public interfaceDocument_ActiveWritingStyleTypeInfrastructure.
Public interfaceDocument_CompatibilityTypeInfrastructure.
Public interfaceDropDownListContentControlRepresents a drop-down list on a document.
Public interfaceFactoryProvides methods you can use to add perform miscellaneous tasks in a document-level customization, such as creating Ribbon controls at run time and adding smart tags to documents.
Public interfaceGroupContentControlRepresents a protected region of a document that users cannot edit or delete.
Public interfaceIDocumentExtensionRepresents an extension of a Document object.
Public interfaceISmartTagExtensionRepresents an extension of a smart tag in a Word document that is customized by using the Office development tools in Visual Studio. The extension defines a custom recognizer for the smart tag.
Public interfaceMailMergeAfterMergeEventArgsProvides data for the MailMergeAfterMerge event.
Public interfaceMailMergeWizardStateChangeEventArgsProvides data for the MailMergeWizardStateChange event.
Public interfaceNodeInsertAndDeleteEventArgsProvides data for the AfterInsert and BeforeDelete events of an XMLNode control, and for the AfterInsert and BeforeDelete events of an XMLNodes control.
Public interfacePictureContentControlRepresents a document region that displays an image.
Public interfacePlainTextContentControlRepresents a block of text in a document.
Public interfaceRichTextContentControlRepresents a block of text or other types of content in a document.
Public interfaceSaveEventArgsProvides data for the BeforeSave event.
Public interfaceSelectionEventArgsProvides data for the SelectionChange, Selected, and Deselected events of a Bookmark control.
Public interfaceSmartTagRepresents a smart tag in a Word document that is customized by using the Office development tools in Visual Studio.
Public interfaceSmartTagRecognizeContextProvides the context of a call to a custom smart tag recognizer.
Public interfaceWindowEventArgsProvides information for the ActivateEvent, Deactivate, and WindowSize events.
Public interfaceXMLNodeRepresents a single XML node on a document that exposes events and that can be bound to data.
Public interfaceXMLNode_ValidationErrorTextTypeInfrastructure.
Public interfaceXMLNode_XMLTypeInfrastructure.
Public interfaceXMLNodesA collection of XMLNode objects that represent the nodes in the tree view of the XML Structure task pane, which indicates the elements that a user has applied to a document.

  DelegateDescription
Public delegateActionClickEventHandlerRepresents the method that will handle the Click event of an Action.
Public delegateBeforeCaptionShowEventHandlerRepresents the method that will handle the BeforeCaptionShow event of an Action. This type or member is intended to be used only in projects for the 2007 Microsoft Office system. Smart tags are deprecated in Office 2010.
Public delegateClickEventHandlerRepresents the method that will handle the BeforeDoubleClick and BeforeRightClick events of a Document.
Public delegateContentControlAddedEventHandlerRepresents the method that will handle the Added event of a ContentControlBase.
Public delegateContentControlContentUpdatingEventHandlerRepresents the method that will handle the ContentUpdating event of a ContentControlBase.
Public delegateContentControlDeletingEventHandlerRepresents the method that will handle the Deleting event of a ContentControlBase.
Public delegateContentControlEnteringEventHandlerRepresents the method that will handle the ControlEntering event of a ContentControlBase.
Public delegateContentControlExitingEventHandlerRepresents the method that will handle the Exiting event of a ContentControlBase.
Public delegateContentControlStoreUpdatingEventHandlerRepresents the method that will handle the StoreUpdating event of a ContentControlBase.
Public delegateContextChangeEventHandlerRepresents the method that will handle the Select, Deselect, ContextEnter and ContextLeave events of an XMLNode object and the ContextEnter, ContextLeave, Select, and Deselect events of an XMLNodes object.
Public delegateMailMergeAfterMergeEventHandlerRepresents the method that handles the MailMergeAfterMerge event of a Document.
Public delegateMailMergeWizardStateChangeEventHandlerRepresents the method that handles the MailMergeWizardStateChange event of a Document.
Public delegateNodeInsertAndDeleteEventHandlerRepresents the method that handles the AfterInsert and BeforeDelete events of an XMLNode control, and the AfterInsert and BeforeDelete events of an XMLNodes control.
Public delegateSaveEventHandlerRepresents the method that will handle the BeforeSave event of a Document.
Public delegateSelectionEventHandlerRepresents the method that handles the SelectionChange, Selected, and Deselected events of a Bookmark control.
Public delegateWindowEventHandlerRepresents the method that will handle the ActivateEvent, Deactivate, and WindowSize events.
Show:
© 2014 Microsoft