Table of Contents

Class ContentControlListItem

Namespace
DocWright.Dom.ContentControls
Assembly
DocWright.Dom.dll

One entry of a drop-down list or combo box (ECMA-376 Part 1 §17.5.2.19 w:listItem).

public sealed class ContentControlListItem
Inheritance
ContentControlListItem
Inherited Members

Constructors

ContentControlListItem(string, string?)

Initializes an entry.

Properties

DisplayText

Gets the text shown to the user, or null when the entry carried none. Word shows the value in that case, which is what EffectiveDisplayText reports.

EffectiveDisplayText

Gets the text Word displays for this entry: the display text when present, the value otherwise.

Value

Gets the stored value.