Table of Contents

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 = 0

No 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 = 1

A rich-text control (w:richText).

PlainText = 2

A plain-text control (w:text).

CheckBox = 3

A check box (w14:checkbox).

DropDownList = 4

A drop-down list, which allows only the listed values (w:dropDownList).

ComboBox = 5

A combo box, which allows free text as well as the listed values (w:comboBox).

DatePicker = 6

A date picker (w:date).

Picture = 7

A picture control (w:picture).

BuildingBlockGallery = 8

A building-block gallery control (w:docPartObj).

BuildingBlockList = 9

A building-block list control (w:docPartList).

Group = 10

A group control, whose content is locked as a unit (w:group).

RepeatingSection = 11

A repeating section (w15:repeatingSection).

RepeatingSectionItem = 12

One item of a repeating section (w15:repeatingSectionItem).

Equation = 13

An equation control (w:equation).

Citation = 14

A citation control (w:citation).

Bibliography = 15

A bibliography control (w:bibliography).