Word.Interfaces.ContentControlListItemData interface

An interface describing the data returned by calling contentControlListItem.toJSON().

Properties

displayText

Specifies the display text of a list item for a dropdown list or combo box content control.

index

Specifies the index location of a content control list item in the collection of list items.

value

Specifies the programmatic value of a list item for a dropdown list or combo box content control.

Property Details

displayText

Specifies the display text of a list item for a dropdown list or combo box content control.

displayText?: string;

Property Value

string

Remarks

[ API set: WordApi 1.9 ]

index

Specifies the index location of a content control list item in the collection of list items.

index?: number;

Property Value

number

Remarks

[ API set: WordApi 1.9 ]

value

Specifies the programmatic value of a list item for a dropdown list or combo box content control.

value?: string;

Property Value

string

Remarks

[ API set: WordApi 1.9 ]