New to Telerik Document ProcessingStart a free 30-day trial

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:

C#
public class ListItem

Inheritance: objectListItem

Constructors

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

C#
public ListItem()

Properties

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

C#
public string DisplayText { get; set; }

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

C#
public string Value { get; set; }