Enum ContentControlKind
- Namespace
- DocWright.Dom.ContentControls
- Assembly
- DocWright.Dom.dll
The kind of a structured document tag, determined by the type-specific child of
w:sdtPr (ECMA-376 Part 1 §17.5.2, plus the w14 and w15 extensions
Word uses for check boxes and repeating sections).
public enum ContentControlKind
Fields
Unspecified = 0No type-specific child was present. Word treats such a control as rich text, and so does DocWright; the kind is kept distinct from RichText so a writer can tell a control that said nothing from one that said
w:richText.RichText = 1A rich-text control (w:richText).
PlainText = 2A plain-text control (w:text).
CheckBox = 3A check box (w14:checkbox).
DropDownList = 4A drop-down list, which allows only the listed values (w:dropDownList).
ComboBox = 5A combo box, which allows free text as well as the listed values (w:comboBox).
DatePicker = 6A date picker (w:date).
Picture = 7A picture control (w:picture).
BuildingBlockGallery = 8A building-block gallery control (w:docPartObj).
BuildingBlockList = 9A building-block list control (w:docPartList).
Group = 10A group control, whose content is locked as a unit (w:group).
RepeatingSection = 11A repeating section (w15:repeatingSection).
RepeatingSectionItem = 12One item of a repeating section (w15:repeatingSectionItem).
Equation = 13An equation control (w:equation).
Citation = 14A citation control (w:citation).
Bibliography = 15A bibliography control (w:bibliography).