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

Defines the fluent API for configuring MultiColumnComboBoxColumn

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class MultiColumnComboBoxColumnBuilder

Inheritance: objectMultiColumnComboBoxColumnBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

MultiColumnComboBoxColumnBuilder method.

C#
public MultiColumnComboBoxColumnBuilder(MultiColumnComboBoxColumn container)
Parameters:containerMultiColumnComboBoxColumn

Properties

Gets the settings being configured.

C#
protected MultiColumnComboBoxColumn Container { get; }

Methods

Defines the field for the column.

C#
public MultiColumnComboBoxColumnBuilder Field(string value)
Parameters:valuestring

The value for Field

Returns:

MultiColumnComboBoxColumnBuilder

Returns the current MultiColumnComboBoxColumnBuilder instance.

Example:
C#
@( Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Columns(columns =>
{
columns.Add().Field("ProductName");
})
)

Renders a template for the column header.

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

The value for HeaderTemplate

Returns:

MultiColumnComboBoxColumnBuilder

Returns the current MultiColumnComboBoxColumnBuilder instance.

Renders a template for the column header.

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

A Template component that configures the headertemplate.

Returns:

MultiColumnComboBoxColumnBuilder

Returns the current MultiColumnComboBoxColumnBuilder instance.

Renders a template for the column header.

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

The handler that returs the template for HeaderTemplate

Returns:

MultiColumnComboBoxColumnBuilder

Returns the current MultiColumnComboBoxColumnBuilder instance.

Renders a template for the column header.

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

The ID of the template element for HeaderTemplate

Returns:

MultiColumnComboBoxColumnBuilder

Returns the current MultiColumnComboBoxColumnBuilder instance.

Renders a template for the column header.

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

The view that contains the template for HeaderTemplate

Returns:

MultiColumnComboBoxColumnBuilder

Returns the current MultiColumnComboBoxColumnBuilder instance.

Renders a template for the column.

C#
public MultiColumnComboBoxColumnBuilder Template(string value)
Parameters:valuestring

The value for Template

Returns:

MultiColumnComboBoxColumnBuilder

Returns the current MultiColumnComboBoxColumnBuilder instance.

Renders a template for the column.

C#
public MultiColumnComboBoxColumnBuilder Template<TModel>(TemplateBuilder<TModel> template)
Parameters:templateTemplateBuilder<TModel>

A Template component that configures the template.

Returns:

MultiColumnComboBoxColumnBuilder

Returns the current MultiColumnComboBoxColumnBuilder instance.

Renders a template for the column.

C#
public MultiColumnComboBoxColumnBuilder TemplateHandler(string templateHandler)
Parameters:templateHandlerstring

The handler that returs the template for Template

Returns:

MultiColumnComboBoxColumnBuilder

Returns the current MultiColumnComboBoxColumnBuilder instance.

Renders a template for the column.

C#
public MultiColumnComboBoxColumnBuilder TemplateId(string templateId)
Parameters:templateIdstring

The ID of the template element for Template

Returns:

MultiColumnComboBoxColumnBuilder

Returns the current MultiColumnComboBoxColumnBuilder instance.

Renders a template for the column.

C#
public MultiColumnComboBoxColumnBuilder TemplateView(IHtmlContent templateView)
Parameters:templateViewIHtmlContent

The view that contains the template for Template

Returns:

MultiColumnComboBoxColumnBuilder

Returns the current MultiColumnComboBoxColumnBuilder instance.

Defines the text of the column title in the header.

C#
public MultiColumnComboBoxColumnBuilder Title(string value)
Parameters:valuestring

The value for Title

Returns:

MultiColumnComboBoxColumnBuilder

Returns the current MultiColumnComboBoxColumnBuilder instance.

Example:
C#
@( Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Columns(columns =&gt;
{
columns.Add().Field("ProductName").Title("Name");
})
)

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

C#
public MultiColumnComboBoxColumnBuilder Width(string value)
Parameters:valuestring

The value for Width

Returns:

MultiColumnComboBoxColumnBuilder

Returns the current MultiColumnComboBoxColumnBuilder instance.

Example:
C#
@( Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Columns(columns =&gt;
{
columns.Add().Field("ProductName").Width(150);
})
)