Class
ChoiceOption

Selectable option used by choice fields (combo box, list box), holding the data value and optional display text.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model.InteractiveForms

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

cs-api-definition
public sealed class ChoiceOption : FieldOptionBase

Inheritance: objectFieldOptionBaseChoiceOption

Constructors

ChoiceOption(string)

Initialize a new ChoiceOption with the specified data value.

Declaration

cs-api-definition
public ChoiceOption(string value)

Parameters

value

string

The string value for this choice option.

Properties

UserInterfaceValue

Gets or sets the UI label shown to users; when null, Value is displayed.

Declaration

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

Property Value

string

The display text for this option, or null to use the Value property for display.

Value

Gets or sets the data value used for submission and processing.

Declaration

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

Property Value

string

The underlying string value that represents this option's data.

Overrides FieldOptionBase.Value