Defines the fluent interface for configuring the DropDownList, ComboBox and MultiSelect components.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TDropDown
TDropDownBuilder
Syntax:
public class ListBuilderBase<TDropDown, TDropDownBuilder> : WidgetBuilderBase<TDropDown, TDropDownBuilder>, IHtmlString where TDropDown : ListBase where TDropDownBuilder : WidgetBuilderBase<TDropDown, TDropDownBuilder>
Inheritance: objectWidgetBuilderBase<TDropDown, TDropDownBuilder>ListBuilderBase<TDropDown, TDropDownBuilder>
Derived Classes:
Implements:
Inherited Members
Constructors
public ListBuilderBase(TDropDown component)
Methods
Specifies the adaptive rendering of the component.
public TDropDownBuilder AdaptiveMode(AdaptiveMode value)
The value for AdaptiveMode.
Returns:TDropDownBuilder
Allows customization of the subtitle's text in the adaptive view of the component.
public TDropDownBuilder AdaptiveSubtitle(string value)
The value that configures the adaptivesubtitle.
Returns:TDropDownBuilder
Allows customization of the title's text in the adaptive view of the component.
public TDropDownBuilder AdaptiveTitle(string value)
The value that configures the adaptivetitle.
Returns:TDropDownBuilder
Configures the animation effects of the widget.
public TDropDownBuilder Animation(Action<PopupAnimationBuilder> animationAction)
The action which configures the animation effects.
Returns:TDropDownBuilder
Use to enable or disable animation of the popup element.
public TDropDownBuilder Animation(bool enable)
The boolean value.
Returns:TDropDownBuilder
Binds the widget to an IEnumerable list.
public TDropDownBuilder BindTo(IEnumerable data)
The data source.
Returns:TDropDownBuilder
Configures the DataSource options.
public TDropDownBuilder DataSource(Action<ReadOnlyDataSourceBuilder> configurator)
The DataSource configurator action.
Returns:TDropDownBuilder
Sets the id of the external data source for the widget.
public TDropDownBuilder DataSource(string dataSourceId)
TDropDownBuilder
Sets the field of the data item that provides the text content of the list items.
public TDropDownBuilder DataTextField(string field)
TDropDownBuilder
Specifies the delay in ms after which the widget will start filtering the dataSource.
Enables or disables the combobox.
Fixed group template which will be rendered as a static group header of the popup element.
public TDropDownBuilder FixedGroupTemplate(string fixedGroupTemplate)
TDropDownBuilder
The fixed group template which will be rendered as a static group header of the popup element.
public TDropDownBuilder FixedGroupTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the fixed group template.
Returns:TDropDownBuilder
The JavaScript handler that returns the fixed group template which will be rendered as a static group header of the popup element.
public TDropDownBuilder FixedGroupTemplateHandler(string value)
TDropDownBuilder
FixedGroupTemplateId to be used for rendering the static header of the popup element.
public TDropDownBuilder FixedGroupTemplateId(string fixedGroupTemplateId)
TDropDownBuilder
FixedGroupTemplateView to be used for rendering the static header of the popup element.
public TDropDownBuilder FixedGroupTemplateView(MvcHtmlString fixedGroupTemplateView)
TDropDownBuilder
Footer template which will be rendered as a static footer of the popup element.
public TDropDownBuilder FooterTemplate(string footerTemplate)
TDropDownBuilder
Footer template which will be rendered as a static footer of the popup element.
public TDropDownBuilder FooterTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the fixed group template.
Returns:TDropDownBuilder
The JavaScript function that returns the Footer template which will be rendered as a static footer of the popup element.
public TDropDownBuilder FooterTemplateHandler(string value)
TDropDownBuilder
FooterTemplateId to be used for rendering the static footer of the popup element.
public TDropDownBuilder FooterTemplateId(string footerTemplateId)
TDropDownBuilder
FooterTemplateView to be used for rendering the static footer of the popup element.
public TDropDownBuilder FooterTemplateView(MvcHtmlString footerTemplateView)
TDropDownBuilder
Group template which will be rendered as a group header of each new group in the popup.
public TDropDownBuilder GroupTemplate(string groupTemplate)
TDropDownBuilder
The Group template which will be rendered as a group header of each new group in the popup.
public TDropDownBuilder GroupTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the fixed group template.
Returns:TDropDownBuilder
The JavaScript ghandler that returns the Group template which will be rendered as a group header of each new group in the popup.
public TDropDownBuilder GroupTemplateHandler(string value)
TDropDownBuilder
GroupTemplateId to be used for rendering the static header of the popup element.
public TDropDownBuilder GroupTemplateId(string groupTemplateId)
TDropDownBuilder
GroupTemplateView to be used for rendering the static header of the popup element.
public TDropDownBuilder GroupTemplateView(MvcHtmlString groupTemplateView)
TDropDownBuilder
Header template which will be rendered as a static header of the popup element.
public TDropDownBuilder HeaderTemplate(string headerTemplate)
TDropDownBuilder
Header template which will be rendered as a static header of the popup element.
public TDropDownBuilder HeaderTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the fixed group template.
Returns:TDropDownBuilder
The JAvaScript function that returns the Header template which will be rendered as a static header of the popup element.
public TDropDownBuilder HeaderTemplateHandler(string value)
TDropDownBuilder
HeaderTemplateId to be used for rendering the static header of the popup element.
public TDropDownBuilder HeaderTemplateId(string headerTemplateId)
TDropDownBuilder
HeaderTemplateView to be used for rendering the static header of the popup element.
public TDropDownBuilder HeaderTemplateView(MvcHtmlString headerTemplateView)
TDropDownBuilder
Sets the height of the drop-down list in pixels.
Use it to enable case insensitive bahavior of the combobox. If true the combobox will select the first matching item ignoring its casing.
public TDropDownBuilder IgnoreCase(bool ignoreCase)
TDropDownBuilder
Adds a label before the input. If the input has no id attribute, a generated id will be assigned. The string and the function parameters are setting the inner HTML of the label.
public TDropDownBuilder Label(Action<LabelSettingsBuilder> configurator)
TDropDownBuilder
No data template which will be rendered as a static no-data template of the popup element.
public TDropDownBuilder NoDataTemplate(string noDataTemplate)
TDropDownBuilder
No data template which will be rendered as a static no-data template of the popup element.
public TDropDownBuilder NoDataTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the fixed group template.
Returns:TDropDownBuilder
the JavaScript function that returns the No data template which will be rendered as a static no-data template of the popup element.
public TDropDownBuilder NoDataTemplateHandler(string value)
TDropDownBuilder
NoDataTemplateId to be used for rendering the static no-data template of the popup element.
public TDropDownBuilder NoDataTemplateId(string noDataTemplateId)
TDropDownBuilder
NoDataTemplateView to be used for rendering the static no-data template of the popup element.
public TDropDownBuilder NoDataTemplateView(MvcHtmlString noDataTemplateView)
TDropDownBuilder
Configures the popup settings of the widget.
public TDropDownBuilder Popup(Action<PopupSettingsBuilder> popupAction)
TDropDownBuilder
Specifies whether the value of the widget should be treated as a plain string or as a complex object from the data source.
public TDropDownBuilder ValuePrimitive(bool valuePrimitive)
TDropDownBuilder
Configures the virtualization settings of the widget.
public TDropDownBuilder Virtual(Action<VirtualSettingsBuilder> virtualizationAction)
TDropDownBuilder
Configures the virtualization settings of the widget.