Class ContentControlListItem
Represents one option in a combo-box or drop-down-list content control.
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public sealed class ContentControlListItem
Constructors
ContentControlListItem()
Creates an empty list item.
Declaration
public ContentControlListItem()
ContentControlListItem(string, string)
Creates a list item with display and stored values.
Declaration
public ContentControlListItem(string displayText, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | displayText | The text shown to the user. |
| string | value | The value stored for the selection. |
Properties
DisplayText
Gets or sets the text shown to the user.
Declaration
public string DisplayText { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Value
Gets or sets the value stored for the selection.
Declaration
public string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| string |