Method SetDropDownEntries
SetDropDownEntries(IReadOnlyList<string>)
Replaces a drop-down's entries (at most 25), keeping the selection and default where they still name an entry.
public void SetDropDownEntries(IReadOnlyList<string> entries)
Parameters
entriesIReadOnlyList<string>The entries, in order, none empty.
Exceptions
- ArgumentNullException
entriesis null.- FormFieldEditException
The field is not a drop-down, an entry is refused, or the markup could not be rewritten.