Class ComboBoxField
Represents a combo box form field that allows users to select from a dropdown list of options or optionally enter custom text 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 default option value that will be selected when the form is reset to its default state.
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 type.
Declaration
public override FormFieldType FieldType { get; }
Property Value
FormFieldType
|
Overrides
HasEditableTextBox
Gets or sets a value indicating whether the combo box includes an editable text input area that allows users to enter custom values in addition to selecting from predefined options.
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 a value indicating whether spell checking should be performed on text entered in the editable text area of this combo box.
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 value for this combo box field. When the combo box is editable, this value may contain custom text that differs from the predefined choice options.
Declaration
public ChoiceOption Value { get; set; }
Property Value
ChoiceOption
The selected choice option, or null if no option is selected. |