Table of Contents

Method SetListItems

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

SetListItems(IReadOnlyList<ContentControlListItem>)

Replaces the entries of a drop-down list or combo box.

public void SetListItems(IReadOnlyList<ContentControlListItem> items)

Parameters

items IReadOnlyList<ContentControlListItem>

The replacement entries, in order.

Exceptions

ArgumentNullException

items is null.

ContentControlEditException

The control is not a list control, or the preserved markup could not be rewritten.