Skip to main content
A newer version of this page is available. .

DropDownButtonBuilder Methods

A DropDownButton control.
Name Description
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.
DataSource(JS) Mirrors the client-side dataSource option.
DataSource(IEnumerable, String[]) Binds a DropDownButton control to a collection: Array, List, or IEnumerable.
DataSource(Func<DataSourceFactory, OptionsOwnerBuilder>) Binds a DropDownButton 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 DropDownButton 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.
DropDownContentTemplate(JS) Specifies the client-side dropDownContentTemplate.
DropDownContentTemplate(RazorBlock) Specifies the client-side dropDownContentTemplate.
DropDownContentTemplate(TemplateName) Specifies the client-side dropDownContentTemplate.
DropDownContentTemplate(String) Specifies the client-side dropDownContentTemplate.
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.
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.
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.
Icon(JS) Mirrors the client-side icon option.
Icon(String) Mirrors the client-side icon 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.
Items(Action<CollectionFactory<DropDownButtonItemBuilder>>) Provides access to the client-side items option that represents a DropDownButton item collection.
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.
KeyExpr(JS) Mirrors the client-side keyExpr option.
KeyExpr(String) Mirrors the client-side keyExpr option.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
NoDataText(JS) Mirrors the client-side noDataText option.
NoDataText(String) Mirrors the client-side noDataText option.
OnButtonClick(RazorBlock) Mirrors the client-side onButtonClick option.
OnButtonClick(String) Mirrors the client-side onButtonClick option.
OnContentReady(RazorBlock) Mirrors the client-side onContentReady option.
OnContentReady(String) Mirrors the client-side onContentReady option.
OnDisposing(RazorBlock) Mirrors the client-side onDisposing option.
OnDisposing(String) Mirrors the client-side onDisposing option.
OnInitialized(RazorBlock) Mirrors the client-side onInitialized option.
OnInitialized(String) Mirrors the client-side onInitialized option.
OnItemClick(RazorBlock) Mirrors the client-side onItemClick option.
OnItemClick(String) Mirrors the client-side onItemClick option.
OnOptionChanged(RazorBlock) Mirrors the client-side onOptionChanged option.
OnOptionChanged(String) Mirrors the client-side onOptionChanged option.
OnSelectionChanged(RazorBlock) Mirrors the client-side onSelectionChanged option.
OnSelectionChanged(String) Mirrors the client-side onSelectionChanged option.
Opened(JS) Mirrors the client-side opened option.
Opened(Boolean) Mirrors the client-side opened option.
Option(String, Object) Specifies an option by its name.
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.
SelectedItemKey(JS) Mirrors the client-side selectedItemKey option.
SelectedItemKey(Double) Mirrors the client-side selectedItemKey option.
SelectedItemKey(String) Mirrors the client-side selectedItemKey option.
ShowArrowIcon(JS) Mirrors the client-side showArrowIcon option.
ShowArrowIcon(Boolean) Mirrors the client-side showArrowIcon option.
SplitButton(JS) Mirrors the client-side splitButton option.
SplitButton(Boolean) Mirrors the client-side splitButton option.
StylingMode(ButtonStylingMode) Mirrors the client-side stylingMode option.
TabIndex(JS) Mirrors the client-side tabIndex option.
TabIndex(Int32) Mirrors the client-side tabIndex option.
Text(JS) Mirrors the client-side text option.
Text(String) Mirrors the client-side text 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.
UseSelectMode(JS) Mirrors the client-side useSelectMode option.
UseSelectMode(Boolean) Mirrors the client-side useSelectMode 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