Skip to main content

SelectBoxBuilder Methods

A SelectBox control.
Name Description
AcceptCustomValue(JS) Mirrors the client-side acceptCustomValue option.
AcceptCustomValue(Boolean) Mirrors the client-side acceptCustomValue option.
AccessKey(JS) Mirrors the client-side accessKey option.
AccessKey(String) Mirrors the client-side accessKey option.
ActiveStateEnabled(JS) Mirrors the client-side activeStateEnabled option.
ActiveStateEnabled(Boolean) Mirrors the client-side activeStateEnabled option.
Buttons(Action<CollectionFactory<TextEditorButtonBuilder>>) Provides access to the client-side buttons option that represents an editor button collection.
Buttons(IEnumerable<DropDownEditorButtonName>) Mirrors the client-side buttons option.
CustomItemCreateEvent(JS) Mirrors the client-side customItemCreateEvent option.
CustomItemCreateEvent(String) Mirrors the client-side customItemCreateEvent option.
DataSource(JS) Mirrors the client-side dataSource option.
DataSource(IEnumerable, String[]) Binds a SelectBox control to a collection: Array, List, or IEnumerable.
DataSource(Func<DataSourceFactory, OptionsOwnerBuilder>) Binds a SelectBox control to data, allows you to configure data access from different sources: API controllers, Razor page handlers, OData services, arrays, and more.
DataSource(String, String[]) Binds a SelectBox control to read-only data in JSON format.
DataSourceOptions(Action<DataSourceOptionsBuilder>) Provides access to methods that mirror client-side data source options.
DeferRendering(JS) Mirrors the client-side deferRendering option.
DeferRendering(Boolean) Mirrors the client-side deferRendering option.
Disabled(JS) Mirrors the client-side disabled option.
Disabled(Boolean) Mirrors the client-side disabled option.
DisplayExpr(JS) Mirrors the client-side displayExpr option.
DisplayExpr(String) Mirrors the client-side displayExpr option.
DisplayValue(JS) Obsolete. Mirrors the client-side displayValue option.
DisplayValue(String) Obsolete. Mirrors the client-side displayValue option.
DropDownButtonTemplate(JS) Specifies the client-side dropDownButtonTemplate.
DropDownButtonTemplate(RazorBlock) Specifies the client-side dropDownButtonTemplate.
DropDownButtonTemplate(TemplateName) Specifies the client-side dropDownButtonTemplate.
DropDownButtonTemplate(String) Specifies the client-side dropDownButtonTemplate.
DropDownOptions(Action<PopupBuilder>) Mirrors the client-side dropDownOptions object.
ElementAttr(JS) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(Dictionary<String, Object>) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(Object) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(String, Object) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FieldTemplate(JS) Specifies the client-side fieldTemplate.
FieldTemplate(RazorBlock) Specifies the client-side fieldTemplate.
FieldTemplate(TemplateName) Specifies the client-side fieldTemplate.
FieldTemplate(String) Specifies the client-side fieldTemplate.
FocusStateEnabled(JS) Mirrors the client-side focusStateEnabled option.
FocusStateEnabled(Boolean) Mirrors the client-side focusStateEnabled option.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
Grouped(JS) Mirrors the client-side grouped option.
Grouped(Boolean) Mirrors the client-side grouped option.
GroupTemplate(JS) Specifies the client-side groupTemplate.
GroupTemplate(RazorBlock) Specifies the client-side groupTemplate.
GroupTemplate(TemplateName) Specifies the client-side groupTemplate.
GroupTemplate(String) Specifies the client-side groupTemplate.
Height(JS) Mirrors the client-side height option.
Height(Double) Mirrors the client-side height option.
Height(String) Mirrors the client-side height option.
Hint(JS) Mirrors the client-side hint option.
Hint(String) Mirrors the client-side hint option.
HoverStateEnabled(JS) Mirrors the client-side hoverStateEnabled option.
HoverStateEnabled(Boolean) Mirrors the client-side hoverStateEnabled option.
ID(JS) Specifies the id attribute for the control’s HTML element (used for nested controls within templates).
ID(String) Specifies the id attribute for the control’s HTML element.
InputAttr(JS) Mirrors the client-side inputAttr option, specifies attributes for the control’s underlying <input> HTML element.
InputAttr(Dictionary<String, Object>) Mirrors the client-side inputAttr option, specifies attributes for the control’s underlying <input> HTML element.
InputAttr(Object) Mirrors the client-side inputAttr option, specifies attributes for the control’s underlying <input> HTML element.
InputAttr(String, Object) Mirrors the client-side inputAttr option, specifies attributes for the control’s underlying <input> HTML element.
IsDirty(JS)
IsDirty(Boolean)
IsValid(JS) Mirrors the client-side isValid option.
IsValid(Boolean) Mirrors the client-side isValid option.
Items(Action<CollectionFactory<SelectBoxItemBuilder>>) Provides access to the client-side items option that represents a SelectBox item collection.
Items(IEnumerable<String>) Mirrors the client-side items option.
ItemTemplate(JS) Specifies the client-side itemTemplate.
ItemTemplate(RazorBlock) Specifies the client-side itemTemplate.
ItemTemplate(TemplateName) Specifies the client-side itemTemplate.
ItemTemplate(String) Specifies the client-side itemTemplate.
Label(JS) Mirrors the client-side customItemCreateEvent option.
Label(String) Mirrors the client-side label option.
LabelMode(EditorLabelMode)
MaxLength(JS) Mirrors the client-side maxLength option.
MaxLength(Int32) Mirrors the client-side maxLength option.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MinSearchLength(JS) Mirrors the client-side minSearchLength option.
MinSearchLength(Int32) Mirrors the client-side minSearchLength option.
Name(JS) Mirrors the client-side name option.
Name(String) Mirrors the client-side name option.
NoDataText(JS) Mirrors the client-side noDataText option.
NoDataText(String) Mirrors the client-side noDataText option.
OnChange(RazorBlock) Mirrors the client-side onChange option.
OnChange(String) Mirrors the client-side onChange option.
OnClosed(RazorBlock) Mirrors the client-side onClosed option.
OnClosed(String) Mirrors the client-side onClosed option.
OnContentReady(RazorBlock) Mirrors the client-side onContentReady option.
OnContentReady(String) Mirrors the client-side onContentReady option.
OnCopy(RazorBlock) Mirrors the client-side onCopy option.
OnCopy(String) Mirrors the client-side onCopy option.
OnCustomItemCreating(RazorBlock) Mirrors the client-side onCustomItemCreating option.
OnCustomItemCreating(String) Mirrors the client-side onCustomItemCreating option.
OnCut(RazorBlock) Mirrors the client-side onCut option.
OnCut(String) Mirrors the client-side onCut option.
OnDisposing(RazorBlock) Mirrors the client-side onDisposing option.
OnDisposing(String) Mirrors the client-side onDisposing option.
OnEnterKey(RazorBlock) Mirrors the client-side onEnterKey option.
OnEnterKey(String) Mirrors the client-side onEnterKey option.
OnFocusIn(RazorBlock) Mirrors the client-side onFocusIn option.
OnFocusIn(String) Mirrors the client-side onFocusIn option.
OnFocusOut(RazorBlock) Mirrors the client-side onFocusOut option.
OnFocusOut(String) Mirrors the client-side onFocusOut option.
OnInitialized(RazorBlock) Mirrors the client-side onInitialized option.
OnInitialized(String) Mirrors the client-side onInitialized option.
OnInput(RazorBlock) Mirrors the client-side onInput option.
OnInput(String) Mirrors the client-side onInput option.
OnItemClick(RazorBlock) Mirrors the client-side onItemClick option.
OnItemClick(String) Mirrors the client-side onItemClick option.
OnKeyDown(RazorBlock) Mirrors the client-side onKeyDown option.
OnKeyDown(String) Mirrors the client-side onKeyDown option.
OnKeyUp(RazorBlock) Mirrors the client-side onKeyUp option.
OnKeyUp(String) Mirrors the client-side onKeyUp option.
OnOpened(RazorBlock) Mirrors the client-side onOpened option.
OnOpened(String) Mirrors the client-side onOpened option.
OnOptionChanged(RazorBlock) Mirrors the client-side onOptionChanged option.
OnOptionChanged(String) Mirrors the client-side onOptionChanged option.
OnPaste(RazorBlock) Mirrors the client-side onPaste option.
OnPaste(String) Mirrors the client-side onPaste option.
OnSelectionChanged(RazorBlock) Mirrors the client-side onSelectionChanged option.
OnSelectionChanged(String) Mirrors the client-side onSelectionChanged option.
OnValueChanged(RazorBlock) Mirrors the client-side onValueChanged option.
OnValueChanged(String) Mirrors the client-side onValueChanged option.
Opened(JS) Mirrors the client-side opened option.
Opened(Boolean) Mirrors the client-side opened option.
OpenOnFieldClick(JS) Mirrors the client-side openOnFieldClick option.
OpenOnFieldClick(Boolean) Mirrors the client-side openOnFieldClick option.
Option(String, Object) Specifies an option by its name.
Placeholder(JS) Mirrors the client-side placeholder option.
Placeholder(String) Mirrors the client-side placeholder option.
ReadOnly(JS) Mirrors the client-side readOnly option.
ReadOnly(Boolean) Mirrors the client-side readOnly option.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Render() Inherited from WidgetBuilder.
RtlEnabled(JS) Mirrors the client-side rtlEnabled option.
RtlEnabled(Boolean) Mirrors the client-side rtlEnabled option.
SearchEnabled(JS) Mirrors the client-side searchEnabled option.
SearchEnabled(Boolean) Mirrors the client-side searchEnabled option.
SearchExpr(JS) Mirrors the client-side searchExpr option.
SearchExpr(IEnumerable<String>) Mirrors the client-side searchExpr option.
SearchExpr(String[]) Mirrors the client-side searchExpr option.
SearchMode(DropDownSearchMode) Mirrors the client-side searchMode option.
SearchTimeout(JS) Mirrors the client-side searchTimeout option.
SearchTimeout(Double) Mirrors the client-side searchTimeout option.
ShowClearButton(JS) Mirrors the client-side showClearButton option.
ShowClearButton(Boolean) Mirrors the client-side showClearButton option.
ShowDataBeforeSearch(JS) Mirrors the client-side showDataBeforeSearch option.
ShowDataBeforeSearch(Boolean) Mirrors the client-side showDataBeforeSearch option.
ShowDropDownButton(JS) Mirrors the client-side showDropDownButton option.
ShowDropDownButton(Boolean) Mirrors the client-side showDropDownButton option.
ShowSelectionControls(JS) Mirrors the client-side showSelectionControls option.
ShowSelectionControls(Boolean) Mirrors the client-side showSelectionControls option.
Spellcheck(JS) Mirrors the client-side spellcheck option.
Spellcheck(Boolean) Mirrors the client-side spellcheck option.
StylingMode(EditorStylingMode) Mirrors the client-side stylingMode option.
TabIndex(JS) Mirrors the client-side tabIndex option.
TabIndex(Int32) Mirrors the client-side tabIndex option.
ToString() Inherited from WidgetBuilder.
ToTemplate() Renders the control as a template string for use in another control’s template. Inherited from WidgetBuilder.
UseItemTextAsTitle(JS) Mirrors the client-side useItemTextAsTitle option.
UseItemTextAsTitle(Boolean) Mirrors the client-side useItemTextAsTitle option.
ValidationError(Object) Mirrors the client-side validationError option.
ValidationErrors(JS) Mirrors the client-side validationErrors option.
ValidationErrors(IEnumerable) Mirrors the client-side validationErrors option.
ValidationMessageMode(ValidationMessageMode) Mirrors the client-side validationMessageMode option.
ValidationMessagePosition(Mode) Mirrors the client-side validationMessagePosition option.
ValidationMessagePosition(Position) Mirrors the client-side validationMessagePosition option.
ValidationStatus(ValidationStatus) Mirrors the client-side validationStatus option.
Value(Object) Mirrors the client-side value option.
ValueChangeEvent(JS) Obsolete. Mirrors the client-side valueChangeEvent option.
ValueChangeEvent(String) Obsolete. Mirrors the client-side valueChangeEvent option.
ValueExpr(JS) Mirrors the client-side valueExpr option.
ValueExpr(String) Mirrors the client-side valueExpr option.
Visible(JS) Mirrors the client-side visible option.
Visible(Boolean) Mirrors the client-side visible option.
Width(JS) Mirrors the client-side width option.
Width(Double) Mirrors the client-side width option.
Width(String) Mirrors the client-side width option.
WrapItemText(JS) Mirrors the client-side wrapItemText option.
WrapItemText(Boolean) Mirrors the client-side wrapItemText option.
See Also