Class ComboBoxField
Choice field with a drop‑down list; optionally allows free‑text entry when editable.
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.InteractiveForms
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public sealed class ComboBoxField : ChoiceField, IInstanceIdOwner, IStructuralElement, IWidgetCreator<VariableContentWidget>
Constructors
ComboBoxField(String)
Initializes a new instance of ComboBoxField class.
Declaration
public ComboBoxField(string fieldName)
Parameters
|
System.String
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
|
ChoiceOption
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
|
FormFieldType
|
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
|
System.Boolean
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
|
System.Boolean
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
|
ChoiceOption
The selected choice option, or null if no option is selected. |