WdContentControlType enumeration

Office 2013 and later

Indicates the type of content control.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

public enum WdContentControlType

Member nameDescription
wdContentControlRichTextSpecifies a rich-text content control.
wdContentControlTextSpecifies a text content control
wdContentControlPictureSpecifies a picture content control.
wdContentControlComboBoxSpecifies a combo box content control.
wdContentControlDropdownListSpecifies a drop-down list content control.
wdContentControlBuildingBlockGallerySpecifies a building block gallery content control.
wdContentControlDateSpecifies a date content control.
wdContentControlGroupSpecifies a group content control.
wdContentControlCheckBoxSpecifies a checkbox content control.
wdContentControlRepeatingSectionSpecifies a repeating section content control.

Use the T:Microsoft.Office.Interop.Word.WdContentControlType constants to create new content controls using the Add() method of the ContentControls collection, or use it to determine the type of an existing content control or to change a content control to another type by using the Type property of the ContentControl object.