New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Defines the fluent API for configuring the Telerik UI for ASP.NET Core MultiColumnComboBox

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class MultiColumnComboBoxBuilder : WidgetBuilderBase<MultiColumnComboBox, MultiColumnComboBoxBuilder>, IHtmlContent

Inheritance: objectHelperResultWidgetBuilderBase<MultiColumnComboBox, MultiColumnComboBoxBuilder>MultiColumnComboBoxBuilder

Implements: IHtmlContent

Inherited Members WidgetBuilderBase<MultiColumnComboBox, MultiColumnComboBoxBuilder>.ToComponent()WidgetBuilderBase<MultiColumnComboBox, MultiColumnComboBoxBuilder>.Expression(string)WidgetBuilderBase<MultiColumnComboBox, MultiColumnComboBoxBuilder>.Explorer(ModelExplorer)WidgetBuilderBase<MultiColumnComboBox, MultiColumnComboBoxBuilder>.Name(string)WidgetBuilderBase<MultiColumnComboBox, MultiColumnComboBoxBuilder>.Deferred(bool)WidgetBuilderBase<MultiColumnComboBox, MultiColumnComboBoxBuilder>.HtmlAttributes(object)WidgetBuilderBase<MultiColumnComboBox, MultiColumnComboBoxBuilder>.HtmlAttributes(IDictionary<string, object>)WidgetBuilderBase<MultiColumnComboBox, MultiColumnComboBoxBuilder>.ScriptAttributes(object, bool)WidgetBuilderBase<MultiColumnComboBox, MultiColumnComboBoxBuilder>.ScriptAttributes(IDictionary<string, object>, bool)WidgetBuilderBase<MultiColumnComboBox, MultiColumnComboBoxBuilder>.Render()WidgetBuilderBase<MultiColumnComboBox, MultiColumnComboBoxBuilder>.ToHtmlString()WidgetBuilderBase<MultiColumnComboBox, MultiColumnComboBoxBuilder>.WriteTo(TextWriter, HtmlEncoder)WidgetBuilderBase<MultiColumnComboBox, MultiColumnComboBoxBuilder>.ToClientTemplate()WidgetBuilderBase<MultiColumnComboBox, MultiColumnComboBoxBuilder>.AsModule(bool)WidgetBuilderBase<MultiColumnComboBox, MultiColumnComboBoxBuilder>.ComponentWidgetBuilderBase<MultiColumnComboBox, MultiColumnComboBoxBuilder>.ContainerHelperResult.WriteTo(TextWriter, HtmlEncoder)HelperResult.WriteActionobject.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the MultiColumnComboBoxBuilder class.

C#
public MultiColumnComboBoxBuilder(MultiColumnComboBox component)
Parameters:componentMultiColumnComboBox

Methods

Specifies the adaptive rendering of the component.

C#
public MultiColumnComboBoxBuilder AdaptiveMode(AdaptiveMode value)
Parameters:valueAdaptiveMode

The value for AdaptiveMode

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Allows customization of the subtitle's text in the adaptive view of the component.

C#
public MultiColumnComboBoxBuilder AdaptiveSubtitle(string value)
Parameters:valuestring

The value for AdaptiveSubtitle

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Allows customization of the title's text in the adaptive view of the component.

C#
public MultiColumnComboBoxBuilder AdaptiveTitle(string value)
Parameters:valuestring

The value for AdaptiveTitle

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Configures the animation effects of the MultiColumnComboBox suggestion popup.

C#
public MultiColumnComboBoxBuilder Animation(Action<PopupAnimationBuilder> animationAction)
Parameters:animationActionAction<PopupAnimationBuilder>

The action that configures the animation effects.

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Animation(animationAction =&gt;
{
animationAction.Open(o =&gt; o.Zoom(ZoomDirection.In).Duration(300));
animationAction.Close(close =&gt; close.Fade(FadeDirection.Out).Zoom(ZoomDirection.Out).Duration(300));
})
)

Configures the opening and closing animations of the suggestion popup. When the option is disabled, the opening and closing animations are disabled, too. As a result, the suggestion popup will open and close instantly.

C#
public MultiColumnComboBoxBuilder Animation(bool enable)
Parameters:enablebool

The boolean value that enables or disables the animations.

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Animation(false)
)

Controls whether to bind the widget to the data source on initialization.

C#
public MultiColumnComboBoxBuilder AutoBind(bool value)
Parameters:valuebool

The value for AutoBind

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.AutoBind(false)
)

Binds the MultiColumnComboBox to an IEnumerable collection.

C#
public MultiColumnComboBoxBuilder BindTo(IEnumerable data)
Parameters:dataIEnumerable

The data collection.

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.DataTextField("CompanyName")
.DataValueField("CompanyID")
.BindTo(new List&lt;Company&gt;
{
new Company {
CompanyName = "Text1",
CompanyID = "Value1"
},
new Company {
CompanyName = "Text2",
CompanyID = "Value2"
}
}))

Binds the MultiColumnComboBox to an IEnumerable collection of SelectListItem.

C#
public MultiColumnComboBoxBuilder BindTo(IEnumerable<SelectListItem> dataSource)
Parameters:dataSourceIEnumerable<SelectListItem>

The data collection.

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.BindTo(new List&lt;SelectListItem&gt;
{
new SelectListItem{
Text = "Text1",
Value = "Value1"
},
new SelectListItem{
Text = "Text2",
Value = "Value2"
}
}))

Use it to set the Id of the parent MultiColumnComboBox widget.Help topic showing how cascading functionality works

C#
public MultiColumnComboBoxBuilder CascadeFrom(string value)
Parameters:valuestring

The value for CascadeFrom

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("parentMultiColumnComboBox")
)
@(Html.Kendo().MultiColumnComboBox()
.Name("childMultiColumnComboBox")
.CascadeFrom("parentMultiColumnComboBox")
)

Defines the field to be used to filter the data source. If not defined the parent's dataValueField option will be used.Help topic showing how cascading functionality works

C#
public MultiColumnComboBoxBuilder CascadeFromField(string value)
Parameters:valuestring

The value for CascadeFromField

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("parentMultiColumnComboBox")
.DataTextField("CategoryName")
.DataValueField("CategoryID")
)
@(Html.Kendo().MultiColumnComboBox()
.Name("childMultiColumnComboBox")
.DataTextField("ProductName")
.DataValueField("ProductID")
.CascadeFrom("parentMultiColumnComboBox")
.CascadeFromField("ParentID")
)

Defines the parent field to be used to retain value from. This value will be used further to filter the dataSource. If not defined the value from the parent's dataValueField will be used.

C#
public MultiColumnComboBoxBuilder CascadeFromParentField(string value)
Parameters:valuestring

The value for CascadeFromParentField

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("parentMultiColumnComboBox")
.DataTextField("CategoryName")
.DataValueField("CategoryID")
)
@(Html.Kendo().MultiColumnComboBox()
.Name("childMultiColumnComboBox")
.DataTextField("ProductName")
.DataValueField("ProductID")
.CascadeFrom("parentMultiColumnComboBox")
.CascadeFromField("ParentID")
.CascadeFromParentField("CascadeID")
)

Applicable to a parent MultiColumnComboBox in a cascading scenario. If set to true cascading will be triggered upon custom input in the parent widget. When set to false (default) the child will not cascade and it will be disabled upon setting custom input in the parent MultiColumnComboBox. Cascade on custom values works only when cascadeFromParentField is not set for the child combo, or it points to the dataValueField of the parent.

C#
public MultiColumnComboBoxBuilder CascadeOnCustomValue()
Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Applicable to a parent MultiColumnComboBox in a cascading scenario. If set to true cascading will be triggered upon custom input in the parent widget. When set to false (default) the child will not cascade and it will be disabled upon setting custom input in the parent MultiColumnComboBox. Cascade on custom values works only when cascadeFromParentField is not set for the child combo, or it points to the dataValueField of the parent.

C#
public MultiColumnComboBoxBuilder CascadeOnCustomValue(bool value)
Parameters:valuebool

The value for CascadeOnCustomValue

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("parentMultiColumnComboBox")
.DataTextField("CategoryName")
.DataValueField("CategoryID")
.CascadeOnCustomValue()
)
@(Html.Kendo().MultiColumnComboBox()
.Name("childMultiColumnComboBox")
.DataTextField("ProductName")
.DataValueField("ProductID")
.CascadeFrom("parentMultiColumnComboBox")
.CascadeFromField("ParentID")
)

Unless this options is set to false, a button will appear when hovering the widget. Clicking that button will reset the widget's value and will trigger the change event.

C#
public MultiColumnComboBoxBuilder ClearButton(bool value)
Parameters:valuebool

The value for ClearButton

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.ClearButton(true)
)

Defines the columns rendered in the table of the MultiColumnComboBox.

C#
public MultiColumnComboBoxBuilder Columns(Action<MultiColumnComboBoxColumnFactory> configurator)
Parameters:configuratorAction<MultiColumnComboBoxColumnFactory>

The MultiColumnComboBoxColumnFactory for the columns setting.

Returns:

MultiColumnComboBoxBuilder

Returns the current instance of MultiColumnComboBoxBuilder .

Sets the DataSource configuration of the MultiColumnComboBox.

C#
public MultiColumnComboBoxBuilder DataSource(Action<ReadOnlyDataSourceBuilder> configurator)
Parameters:configuratorAction<ReadOnlyDataSourceBuilder>

The action that configures the DataSource options.

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.DataTextField("ProductName")
.DataValueField("ProductID")
.DataSource(ds =&gt;
{
ds.Read(read =&gt; read.Action("Read", "Home"));
})
)

Sets an external DataSource instance as a DataSource of the MultiColumnComboBox.

C#
public MultiColumnComboBoxBuilder DataSource(string dataSourceId)
Parameters:dataSourceIdstring

The Name() of the external DataSource instance.

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().DataSource&lt;ProductViewModel&gt;()
.Name("productsDS")
.Ajax(dataSource =&gt; dataSource.Read(read =&gt; read.Action("Read", "Home")))
)
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.DataTextField("ProductName")
.DataValueField("ProductID")
.DataSource("productsDS")
)

The field of the data item that provides the text content of the list items. The widget will filter the data source based on this field.

C#
public MultiColumnComboBoxBuilder DataTextField(string value)
Parameters:valuestring

The value for DataTextField

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

The field of the data item that provides the value of the widget.

C#
public MultiColumnComboBoxBuilder DataValueField(string value)
Parameters:valuestring

The value for DataValueField

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.DataTextField("CategoryName")
.DataValueField("CategoryID")
)

The delay in milliseconds between a keystroke and when the widget displays the popup.

C#
public MultiColumnComboBoxBuilder Delay(double value)
Parameters:valuedouble

The value for Delay

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

The width of the dropdown. Numeric values are treated as pixels.

C#
public MultiColumnComboBoxBuilder DropDownWidth(string value)
Parameters:valuestring

The value for DropDownWidth

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.DropDownWidth(600)
)

If set to false the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input.

C#
public MultiColumnComboBoxBuilder Enable(bool value)
Parameters:valuebool

The value for Enable

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

If set to true the widget will not show all items when the text of the search input cleared. By default the widget shows all items when the text of the search input is cleared. Works in conjunction with minLength.

C#
public MultiColumnComboBoxBuilder EnforceMinLength()
Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

If set to true the widget will not show all items when the text of the search input cleared. By default the widget shows all items when the text of the search input is cleared. Works in conjunction with minLength.

C#
public MultiColumnComboBoxBuilder EnforceMinLength(bool value)
Parameters:valuebool

The value for EnforceMinLength

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.MinLength(3)
.Filter("contains")
.EnforceMinLength(true)
)

Configures the client-side events.

C#
public MultiColumnComboBoxBuilder Events(Action<MultiColumnComboBoxEventBuilder> configurator)
Parameters:configuratorAction<MultiColumnComboBoxEventBuilder>

The client events action.

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("MultiColumnComboBox")
.Events(events =&gt; events
.Change("onChange")
)
)

Sets a value controlling how the color is applied.

C#
public MultiColumnComboBoxBuilder FillMode(FillMode value)
Parameters:valueFillMode

The value for FillMode

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.FillMode(FillMode.Solid)
)

The filtering method used to determine the suggestions for the current value.

C#
public MultiColumnComboBoxBuilder Filter(FilterType value)
Parameters:valueFilterType

The value for Filter

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Filter(FilterType.Contains)
)

Enables multicolumn filtering.

C#
public MultiColumnComboBoxBuilder FilterFields(params string[] value)
Parameters:valuestring[]

The value for FilterFields

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.FilterFields(new string[] {"Country", "City"})
.Filter("contains")
.DataTextField("Name")
.DataValueField("ID")
)

The template used to render the fixed header group. By default the widget displays only the value of the current group.

C#
public MultiColumnComboBoxBuilder FixedGroupTemplate(string value)
Parameters:valuestring

The value for FixedGroupTemplate

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

The template used to render the fixed header group. By default the widget displays only the value of the current group.

C#
public MultiColumnComboBoxBuilder FixedGroupTemplate<TModel>(TemplateBuilder<TModel> template)
Parameters:templateTemplateBuilder<TModel>

A Template component that configures the fixedgrouptemplate.

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

The template used to render the fixed header group. By default the widget displays only the value of the current group.

C#
public MultiColumnComboBoxBuilder FixedGroupTemplateHandler(string templateHandler)
Parameters:templateHandlerstring

The handler that returs the template for FixedGroupTemplate

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

The template used to render the fixed header group. By default the widget displays only the value of the current group.

C#
public MultiColumnComboBoxBuilder FixedGroupTemplateId(string templateId)
Parameters:templateIdstring

The ID of the template element for FixedGroupTemplate

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

The template used to render the fixed header group. By default the widget displays only the value of the current group.

C#
public MultiColumnComboBoxBuilder FixedGroupTemplateView(IHtmlContent templateView)
Parameters:templateViewIHtmlContent

The view that contains the template for FixedGroupTemplate

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

The template used to render the footer template. The footer template receives the widget itself as a part of the data argument. Use the widget fields directly in the template.

C#
public MultiColumnComboBoxBuilder FooterTemplate(string value)
Parameters:valuestring

The value for FooterTemplate

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

The template used to render the footer template. The footer template receives the widget itself as a part of the data argument. Use the widget fields directly in the template.

C#
public MultiColumnComboBoxBuilder FooterTemplate<TModel>(TemplateBuilder<TModel> template)
Parameters:templateTemplateBuilder<TModel>

A Template component that configures the footertemplate.

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

The template used to render the footer template. The footer template receives the widget itself as a part of the data argument. Use the widget fields directly in the template.

C#
public MultiColumnComboBoxBuilder FooterTemplateHandler(string templateHandler)
Parameters:templateHandlerstring

The handler that returs the template for FooterTemplate

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

The template used to render the footer template. The footer template receives the widget itself as a part of the data argument. Use the widget fields directly in the template.

C#
public MultiColumnComboBoxBuilder FooterTemplateId(string templateId)
Parameters:templateIdstring

The ID of the template element for FooterTemplate

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

The template used to render the footer template. The footer template receives the widget itself as a part of the data argument. Use the widget fields directly in the template.

C#
public MultiColumnComboBoxBuilder FooterTemplateView(IHtmlContent templateView)
Parameters:templateViewIHtmlContent

The view that contains the template for FooterTemplate

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

The template used to render the groups. By default the widget displays only the value of the group.

C#
public MultiColumnComboBoxBuilder GroupTemplate(string value)
Parameters:valuestring

The value for GroupTemplate

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

The template used to render the groups. By default the widget displays only the value of the group.

C#
public MultiColumnComboBoxBuilder GroupTemplate<TModel>(TemplateBuilder<TModel> template)
Parameters:templateTemplateBuilder<TModel>

A Template component that configures the grouptemplate.

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

The template used to render the groups. By default the widget displays only the value of the group.

C#
public MultiColumnComboBoxBuilder GroupTemplateHandler(string templateHandler)
Parameters:templateHandlerstring

The handler that returs the template for GroupTemplate

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

The template used to render the groups. By default the widget displays only the value of the group.

C#
public MultiColumnComboBoxBuilder GroupTemplateId(string templateId)
Parameters:templateIdstring

The ID of the template element for GroupTemplate

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

The template used to render the groups. By default the widget displays only the value of the group.

C#
public MultiColumnComboBoxBuilder GroupTemplateView(IHtmlContent templateView)
Parameters:templateViewIHtmlContent

The view that contains the template for GroupTemplate

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Specifies a static HTML content, which will be rendered as a header of the popup element.

C#
public MultiColumnComboBoxBuilder HeaderTemplate(string value)
Parameters:valuestring

The value for HeaderTemplate

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Specifies a static HTML content, which will be rendered as a header of the popup element.

C#
public MultiColumnComboBoxBuilder HeaderTemplate<TModel>(TemplateBuilder<TModel> template)
Parameters:templateTemplateBuilder<TModel>

A Template component that configures the headertemplate.

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Specifies a static HTML content, which will be rendered as a header of the popup element.

C#
public MultiColumnComboBoxBuilder HeaderTemplateHandler(string templateHandler)
Parameters:templateHandlerstring

The handler that returs the template for HeaderTemplate

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Specifies a static HTML content, which will be rendered as a header of the popup element.

C#
public MultiColumnComboBoxBuilder HeaderTemplateId(string templateId)
Parameters:templateIdstring

The ID of the template element for HeaderTemplate

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Specifies a static HTML content, which will be rendered as a header of the popup element.

C#
public MultiColumnComboBoxBuilder HeaderTemplateView(IHtmlContent templateView)
Parameters:templateViewIHtmlContent

The view that contains the template for HeaderTemplate

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

The height of the suggestion popup in pixels. The default value is 200 pixels.

C#
public MultiColumnComboBoxBuilder Height(double value)
Parameters:valuedouble

The value for Height

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

If set to true the first suggestion will be automatically highlighted.

C#
public MultiColumnComboBoxBuilder HighlightFirst(bool value)
Parameters:valuebool

The value for HighlightFirst

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.HighlightFirst(true)
)

If set to false case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default.

C#
public MultiColumnComboBoxBuilder IgnoreCase(bool value)
Parameters:valuebool

The value for IgnoreCase

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Specifies the inputmode attribute of the inner <input /> element. It is used to specify the type of on-screen keyboard that should be displayed when the user focuses the input.

C#
public MultiColumnComboBoxBuilder InputMode(string value)
Parameters:valuestring

The value for InputMode

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.InputMode("search")
)

Defines the items in the MultiColumnComboBox.

C#
public MultiColumnComboBoxBuilder Items(Action<SelectListItemFactory> addAction)
Parameters:addActionAction<SelectListItemFactory>

The action that configures the items.

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@( Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Items(items =&gt;
{
items.Add().Text("First Item");
items.Add().Text("Second Item");
}))

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.

C#
public MultiColumnComboBoxBuilder Label(Action<MultiColumnComboBoxLabelSettingsBuilder> configurator)
Parameters:configuratorAction<MultiColumnComboBoxLabelSettingsBuilder>

The MultiColumnComboBoxLabelSettingsBuilder for the label setting.

Returns:

MultiColumnComboBoxBuilder

Returns the current instance of MultiColumnComboBoxBuilder .

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.

C#
public MultiColumnComboBoxBuilder Label(string label)
Parameters:labelstring

The label.

Returns:

MultiColumnComboBoxBuilder

Returns the current instance of MultiColumnComboBoxBuilder .

The text messages displayed in the widget. Use this option to customize or localize the messages.

C#
public MultiColumnComboBoxBuilder Messages(Action<MultiColumnComboBoxMessagesSettingsBuilder> configurator)
Parameters:configuratorAction<MultiColumnComboBoxMessagesSettingsBuilder>

The MultiColumnComboBoxMessagesSettingsBuilder for the messages setting.

Returns:

MultiColumnComboBoxBuilder

Returns the current instance of MultiColumnComboBoxBuilder .

The minimum number of characters the user must type before a search is performed. Set to higher value than 1 if the search could match a lot of items.

C#
public MultiColumnComboBoxBuilder MinLength(double value)
Parameters:valuedouble

The value for MinLength

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.MinLength(3)
)

The template used to render the "no data" template, which will be displayed if no results are found or the underlying data source is empty. The noData template receives the widget itself as a part of the data argument. The template will be evaluated on every widget data bound.

C#
public MultiColumnComboBoxBuilder NoDataTemplate(string value)
Parameters:valuestring

The value for NoDataTemplate

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

The template used to render the "no data" template, which will be displayed if no results are found or the underlying data source is empty. The noData template receives the widget itself as a part of the data argument. The template will be evaluated on every widget data bound.

C#
public MultiColumnComboBoxBuilder NoDataTemplate<TModel>(TemplateBuilder<TModel> template)
Parameters:templateTemplateBuilder<TModel>

A Template component that configures the nodatatemplate.

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

The template used to render the "no data" template, which will be displayed if no results are found or the underlying data source is empty. The noData template receives the widget itself as a part of the data argument. The template will be evaluated on every widget data bound.

C#
public MultiColumnComboBoxBuilder NoDataTemplateHandler(string templateHandler)
Parameters:templateHandlerstring

The handler that returs the template for NoDataTemplate

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

The template used to render the "no data" template, which will be displayed if no results are found or the underlying data source is empty. The noData template receives the widget itself as a part of the data argument. The template will be evaluated on every widget data bound.

C#
public MultiColumnComboBoxBuilder NoDataTemplateId(string templateId)
Parameters:templateIdstring

The ID of the template element for NoDataTemplate

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

The template used to render the "no data" template, which will be displayed if no results are found or the underlying data source is empty. The noData template receives the widget itself as a part of the data argument. The template will be evaluated on every widget data bound.

C#
public MultiColumnComboBoxBuilder NoDataTemplateView(IHtmlContent templateView)
Parameters:templateViewIHtmlContent

The view that contains the template for NoDataTemplate

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

The hint displayed by the widget when it is empty. Not set by default.

C#
public MultiColumnComboBoxBuilder Placeholder(string value)
Parameters:valuestring

The value for Placeholder

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Placeholder("Select country...")
)

The options that will be used for the popup initialization. For more details about the available options refer to Popup documentation.

C#
public MultiColumnComboBoxBuilder Popup(Action<MultiColumnComboBoxPopupSettingsBuilder> configurator)
Parameters:configuratorAction<MultiColumnComboBoxPopupSettingsBuilder>

The MultiColumnComboBoxPopupSettingsBuilder for the popup setting.

Returns:

MultiColumnComboBoxBuilder

Returns the current instance of MultiColumnComboBoxBuilder .

The configuration for the prefix adornment of the component.

C#
public MultiColumnComboBoxBuilder PrefixOptions(Action<MultiColumnComboBoxPrefixOptionsSettingsBuilder> configurator)
Parameters:configuratorAction<MultiColumnComboBoxPrefixOptionsSettingsBuilder>

The MultiColumnComboBoxPrefixOptionsSettingsBuilder for the prefixoptions setting.

Returns:

MultiColumnComboBoxBuilder

Returns the current instance of MultiColumnComboBoxBuilder .

Sets a value controlling the border radius.

C#
public MultiColumnComboBoxBuilder Rounded(Rounded value)
Parameters:valueRounded

The value for Rounded

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Rounded(Rounded.Medium)
)

Defines index of the initially selected item.

C#
public MultiColumnComboBoxBuilder SelectedIndex(int value)
Parameters:valueint

Item index.

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.SelectedIndex(0)
)

Sets the size of the component.

C#
public MultiColumnComboBoxBuilder Size(ComponentSize value)
Parameters:valueComponentSize

The value for Size

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Size(ComponentSize.Large)
)

The configuration for the suffix adornment of the component.

C#
public MultiColumnComboBoxBuilder SuffixOptions(Action<MultiColumnComboBoxSuffixOptionsSettingsBuilder> configurator)
Parameters:configuratorAction<MultiColumnComboBoxSuffixOptionsSettingsBuilder>

The MultiColumnComboBoxSuffixOptionsSettingsBuilder for the suffixoptions setting.

Returns:

MultiColumnComboBoxBuilder

Returns the current instance of MultiColumnComboBoxBuilder .

If set to true the widget will automatically use the first suggestion as its value.

C#
public MultiColumnComboBoxBuilder Suggest()
Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

If set to true the widget will automatically use the first suggestion as its value.

C#
public MultiColumnComboBoxBuilder Suggest(bool value)
Parameters:valuebool

The value for Suggest

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Suggest(true)
)

When set to true the widget will automatically set selected value to the typed custom text. Set the option to false to clear the selected value but keep the custom text.

C#
public MultiColumnComboBoxBuilder SyncValueAndText(bool value)
Parameters:valuebool

The value for SyncValueAndText

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.SyncValueAndText(false)
)

The text of the widget used when the autoBind is set to false.

C#
public MultiColumnComboBoxBuilder Text(string value)
Parameters:valuestring

The value for Text

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Text("Chai")
.AutoBind(false)
)

The value of the widget.

C#
public MultiColumnComboBoxBuilder Value(string value)
Parameters:valuestring

The value for Value

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Specifies the value binding behavior for the widget when the initial model value is null. If set to true, the View-Model field will be updated with the selected item value field. If set to false, the View-Model field will be updated with the selected item.

C#
public MultiColumnComboBoxBuilder ValuePrimitive()
Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Specifies the value binding behavior for the widget when the initial model value is null. If set to true, the View-Model field will be updated with the selected item value field. If set to false, the View-Model field will be updated with the selected item.

C#
public MultiColumnComboBoxBuilder ValuePrimitive(bool value)
Parameters:valuebool

The value for ValuePrimitive

Returns:

MultiColumnComboBoxBuilder

Returns the current MultiColumnComboBoxBuilder instance.

Enables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.For detailed information, refer to the article on virtualization.

C#
public MultiColumnComboBoxBuilder Virtual()
Returns:

MultiColumnComboBoxBuilder

Returns the current instance of MultiColumnComboBoxVirtualSettingsBuilder .

Enables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.For detailed information, refer to the article on virtualization.

C#
public MultiColumnComboBoxBuilder Virtual(Action<MultiColumnComboBoxVirtualSettingsBuilder> configurator)
Parameters:configuratorAction<MultiColumnComboBoxVirtualSettingsBuilder>

The MultiColumnComboBoxVirtualSettingsBuilder for the virtual setting.

Returns:

MultiColumnComboBoxBuilder

Returns the current instance of MultiColumnComboBoxBuilder .

Enables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.For detailed information, refer to the article on virtualization.

C#
public MultiColumnComboBoxBuilder Virtual(bool enabled)
Parameters:enabledbool

Enables or disables the virtual option.

Returns:

MultiColumnComboBoxBuilder

Returns the current instance of MultiColumnComboBoxVirtualSettingsBuilder .