Constructor ContentControlListItem
- Namespace
- DocWright.Dom.ContentControls
- Assembly
- DocWright.Dom.dll
ContentControlListItem(string, string?)
Initializes an entry.
public ContentControlListItem(string value, string? displayText = null)
Parameters
valuestringThe stored value (w:value).
displayTextstringThe text shown to the user (w:displayText), or null to show the value.
Exceptions
- ArgumentNullException
valueis null.