Export (0) Print
Expand All

Microsoft.Office.Tools.Word.Controls Namespace

The Microsoft.Office.Tools.Word.Controls namespace contains a set of Windows Forms controls that can be used on a Document host item. Each of these classes extends a base class that is in the System.Windows.Forms namespace with additional functionality specific to a Microsoft Office Word document. For example, the Microsoft.Office.Tools.Word.Controls.Button class extends the functionality of the System.Windows.Forms.Button class.

You can add and remove the controls in this namespace at run time by using the appropriate helper method in the ControlCollection class. For example, use the AddButton method to add a Microsoft.Office.Tools.Word.Controls.Button to a document at run time. For more information, see Adding Controls to Office Documents at Run Time.

You can also add the controls in this namespace to your Word document at design time by dragging a control from the Toolbox directly to your document. For more information, see How to: Add Controls to Office Documents.

There are some differences between Windows Forms controls that are added to Word or Excel documents and Windows Forms controls that are added to Windows Forms. For more information, see Limitations of Windows Forms Controls on Office Documents.

 ClassDescription
Public classButtonRepresents a Windows Forms button that can be added to a Microsoft Office Word document.
Public classCheckBoxRepresents a Windows Forms check box that can be added to a Microsoft Office Word document.
Public classCheckedListBoxRepresents a Windows Forms checked list box that can be added to a Microsoft Office Word document.
Public classComboBoxRepresents a Windows Forms combo box that can be added to a Microsoft Office Word document.
Public classDataGridViewRepresents a Windows Forms DataGridView that can be added to a Microsoft Office Word document.
Public classDateTimePickerRepresents a Windows Forms DateTimePicker control that can be added to a Microsoft Office Word document.
Public classDomainUpDownRepresents a Windows Forms DomainUpDown that can be added to a Microsoft Office Word document.
Public classHScrollBarRepresents a Windows Forms HScrollBar that can be added to a Microsoft Office Word document.
Public classLabelRepresents a Windows Forms Label that can be added to a Microsoft Office Word document.
Public classLinkLabelRepresents a Windows Forms LinkLabel that can be added to a Microsoft Office Word document.
Public classListBoxRepresents a Windows Forms ListBox that can be added to a Microsoft Office Word document.
Public classListViewRepresents a Windows Forms ListView that can be added to a Microsoft Office Word document.
Public classMaskedTextBoxRepresents a Windows Forms MaskedTextBox that can be added to a Microsoft Office Word document.
Public classMonthCalendarRepresents a Windows Forms MonthCalendar that can be added to a Microsoft Office Word document.
Public classNumericUpDownRepresents a Windows Forms NumericUpDown that can be added to a Microsoft Office Word document.
Public classPictureBoxRepresents a Windows Forms PictureBox that can be added to a Microsoft Office Word document.
Public classProgressBarRepresents a Windows Forms ProgressBar that can be added to a Microsoft Office Word document.
Public classPropertyGridRepresents a Windows Forms PropertyGrid that can be added to a Microsoft Office Word document.
Public classRadioButtonRepresents a Windows Forms RadioButton that can be added to a Microsoft Office Word document.
Public classRichTextBoxRepresents a Windows Forms RichTextBox that can be added to a Microsoft Office Word document.
Public classTextBoxRepresents a Windows Forms TextBox that can be added to a Microsoft Office Word document.
Public classTrackBarRepresents a Windows Forms TrackBar that can be added to a Microsoft Office Word document.
Public classTreeViewRepresents a Windows Forms TreeView that can be added to a Microsoft Office Word document.
Public classVScrollBarRepresents a Windows Forms VScrollBar that can be added to a Microsoft Office Word document.
Public classWebBrowserRepresents a Windows Forms WebBrowser that can be added to a Microsoft Office Word document.
Show:
© 2014 Microsoft