Table of Contents

Enum DocxFormValueKind

Namespace
DocToolkit
Assembly
DocToolkit.Docx.dll

The kinds of value a content control can hold.

public enum DocxFormValueKind

Fields

Checked = 1

A check box.

Choice = 3

A selection from a drop-down or combo box.

Only ever seen on the way in. A drop-down's current selection is handed back as plain text, so DocxForm.Inspect reports it as Text — measured. A caller cannot tell a drop-down from a text control by kind alone.

Date = 2

A date.

Other = 5

Something this API does not model. Text carries its text, so a caller sees the content rather than losing it.

Picture = 4

An image.

Text = 0

Plain text.