This documentation is archived and is not being maintained.

Microsoft.Office.Tools.Word Namespace (2007 System)

The Microsoft.Office.Tools.Word namespace contains a set of classes that extend and support the Microsoft Office Word object model in projects created by using Visual Studio Tools for Office. The types in this namespace can be used only in Visual Studio Tools for Office projects. For more information about these projects, see Visual Studio Tools for Office Project Templates Overview.

The Microsoft.Office.Tools.Word namespace includes the following classes:

  ClassDescription
Public classActionRepresents a Visual Studio Tools for Office smart tag action in a Microsoft Office Word document.
Public classActionEventArgsProvides data for the Click and BeforeCaptionShow events.
Public classBookmarkThe Bookmark control is a bookmark that has a unique name, exposes events, and can be bound to data.
Public classBookmark._InformationTypeInfrastructure.
Public classBookmark._XMLTypeInfrastructure.
Public classBuildingBlockGalleryContentControlRepresents a gallery of document building blocks that users can insert into a document.
Public classClickEventArgsProvides data for the BeforeDoubleClick and BeforeRightClick events.
Public classComboBoxContentControlRepresents a combo box on a document.
Public classContentControlRepresents a content control a document.
Public classContentControlAddedEventArgsProvides data for the Added event of a content control.
Public classContentControlBaseProvides the base class for content controls in Visual Studio Tools for Office solutions.
Public classContentControlContentUpdatingEventArgsProvides data for the ContentUpdating event of a content control.
Public classContentControlDeletingEventArgsProvides data for the Deleting event of a content control.
Public classContentControlEnteringEventArgsProvides data for the Entering event.
Public classContentControlExitingEventArgsProvides data for the Exiting event of a content control.
Public classContentControlStoreUpdatingEventArgsProvides data for the StoreUpdating event of a content control.
Public classContextChangeEventArgsProvides data for the Select, Deselect, ContextEnter and ContextLeave events of the XMLNode class and the ContextEnter, ContextLeave, Select, and Deselect events of the XMLNodes class.
Public classControlCollectionRepresents a collection of controls on a Word document in a Visual Studio Tools for Office solution.
Public classControlCollectionEnumeratorAn enumerator that iterates through the ControlCollection instance.
Public classDatePickerContentControlRepresents a date picker control on a document.
Public classDocumentRepresents a document in Visual Studio Tools for Office projects for Microsoft Office Word.
Public classDocument._ActiveWritingStyleTypeInfrastructure.
Public classDocument._CompatibilityTypeInfrastructure.
Public classDropDownListContentControlRepresents a drop-down list on a document.
Public classGroupContentControlRepresents a protected region of a document that users cannot edit or delete.
Public classMailMergeAfterMergeEventArgsProvides data for the MailMergeAfterMerge event.
Public classMailMergeWizardStateChangeEventArgsProvides data for the MailMergeWizardStateChange event.
Public classNodeInsertAndDeleteEventArgsProvides data for the AfterInsert and BeforeDelete events of an XMLNode control, and for the AfterInsert and BeforeDelete events of an XMLNodes control.
Public classOLEControlRepresents a linked or embedded control on a document.
Public classPictureContentControlRepresents a document region that displays an image.
Public classPlainTextContentControlRepresents a block of text in a document.
Public classRichTextContentControlRepresents a block of text or other types of content in a document.
Public classSaveEventArgsProvides data for the BeforeSave event.
Public classSelectionEventArgsProvides data for the SelectionChange, Selected, and Deselected events of a Bookmark control.
Public classSmartTagRepresents a smart tag in a document-level customization for Microsoft Office Word.
Public classWindowEventArgsProvides information for the ActivateEvent, Deactivate, and WindowSize events.
Public classXMLNodeRepresents a single XML node on a document that exposes events and that can be bound to data.
Public classXMLNode._ValidationErrorTextTypeInfrastructure.
Public classXMLNode._XMLTypeInfrastructure.
Public classXMLNodesA 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.
Public delegateClickEventHandlerRepresents the method that will handle the BeforeDoubleClick and BeforeRightClick events of a Document.
Public delegateContextChangeEventHandlerRepresents the method that will handle the Select, Deselect, ContextEnter and ContextLeave events of the XMLNode class and the ContextEnter, ContextLeave, Select, and Deselect events of the XMLNodes class.
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: