ClassComboBoxField
Choice field with a drop‑down list; optionally allows free‑text entry when editable.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Model.InteractiveForms
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public sealed class ComboBoxField : ChoiceField, IStructuralElement
Inheritance: objectFormFieldFormField<VariableContentWidget>ChoiceFieldComboBoxField
Implements:
Inherited Members
Constructors
ComboBoxField(string)
Initializes a new instance of ComboBoxField class.
Declaration
public ComboBoxField(string fieldName)
Parameters
fieldName
The field name.
Properties
DefaultValue
Gets or sets the option selected when the form is reset to defaults.
Declaration
public ChoiceOption DefaultValue { get; set; }
Property Value
The default choice option to be selected on form reset, or null if no default is specified.
FieldType
Gets the field category reported to viewers for rendering and processing.
Declaration
public override FormFieldType FieldType { get; }
Property Value
Overrides
HasEditableTextBox
Gets or sets whether the drop‑down includes an editable text area so users can type custom values.
Declaration
public bool HasEditableTextBox { get; set; }
Property Value
true if users can type custom text; false if they can only select from predefined options.
ShouldSpellCheck
Gets or sets whether spell checking applies to text typed in the editable area.
Declaration
public bool ShouldSpellCheck { get; set; }
Property Value
true to enable spell checking; false to disable it.
Value
Gets or sets the currently selected option; when editable, may reflect user‑typed text instead of a predefined option.
Declaration
public ChoiceOption Value { get; set; }
Property Value
The selected choice option, or null if no option is selected.