Class
ListItem

Defines a selectable option in a combo box or drop-down list content control, pairing a display label with an underlying value.

Definition

Namespace:Telerik.Windows.Documents.Flow.Model.StructuredDocumentTags

Assembly:Telerik.Windows.Documents.Flow.dll

Syntax:

cs-api-definition
public class ListItem

Inheritance: objectListItem

Constructors

ListItem()

Initializes a new instance of the ListItem class with empty display text and value.

Declaration

cs-api-definition
public ListItem()

Properties

DisplayText

Gets or sets the text displayed to the user when this item appears in the list.

Declaration

cs-api-definition
public string DisplayText { get; set; }

Property Value

string

Value

Gets or sets the underlying value stored when this item is selected, typically used for data binding or programmatic access.

Declaration

cs-api-definition
public string Value { get; set; }

Property Value

string