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

Kendo UI MultiColumnComboBoxColumn TagHelper MultiColumnComboBoxColumnTagHelper class.

Definition

Namespace:Kendo.Mvc.TagHelpers

Assembly:Kendo.Mvc.dll

Syntax:

C#
[HtmlTargetElement("column", ParentTag = "multicolumncombobox-columns", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("column-template", new string[] { "column-header-template" })]
[SuppressTagRendering]
public class MultiColumnComboBoxColumnTagHelper : TagHelperCollectionItemBase, ITagHelper, ITagHelperComponent, ITemplateComponent

Inheritance: objectTagHelperTagHelperChildBaseTagHelperCollectionItemBaseMultiColumnComboBoxColumnTagHelper

Implements: ITagHelperITagHelperComponentITemplateComponent

Inherited Members TagHelperChildBase.Init(TagHelperContext)TagHelperChildBase.AddSelfToContext(TagHelperContext)TagHelperChildBase.CreateHandler(string)TagHelperChildBase.IdPrefixTagHelper.Process(TagHelperContext, TagHelperOutput)TagHelper.Orderobject.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Example:

csharp
@addTagHelper *, Kendo.Mvc

<kendo-multicolumncombobox name="multicolumncombobox">
    <multicolumncombobox-columns>
        <column field="ProductName" />
    </multicolumncombobox-columns>
</kendo-multicolumncombobox>

Constructors

Initializes a new instance of the MultiColumnComboBoxColumnTagHelper class.

C#
public MultiColumnComboBoxColumnTagHelper()

Properties

Defines the field for the column.

C#
public string Field { get; set; }

Renders a template for the column header.

C#
public string HeaderTemplate { get; set; }

Renders a template for the column header. This option expects the name of a JavaScript function that will be called to return the template.

C#
public string HeaderTemplateHandler { get; set; }

Renders a template for the column header. This option expects the ID of the script element that contains the template.

C#
public string HeaderTemplateId { get; set; }

Renders a template for the column header. This option expects the IHtmlContent instance containing the created HTML.

C#
public IHtmlContent HeaderTemplateView { get; set; }

Renders a template for the column.

C#
public string Template { get; set; }

Renders a template for the column. This option expects the name of a JavaScript function that will be called to return the template.

C#
public string TemplateHandler { get; set; }

Renders a template for the column. This option expects the ID of the script element that contains the template.

C#
public string TemplateId { get; set; }

Configures the templates for the component.

C#
[HtmlAttributeNotBound]
public IDictionary<string, string> Templates { get; }

Implements: ITemplateComponent.Templates

Renders a template for the column. This option expects the IHtmlContent instance containing the created HTML.

C#
public IHtmlContent TemplateView { get; set; }

Defines the text of the column title in the header.

C#
public string Title { get; set; }

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

C#
public string Width { get; set; }

Methods

Adds the current TagHelper instance to its parent TagHelper.

C#
protected override void AddSelfToParent(TagHelperContext context)
Parameters:contextTagHelperContext

The TagHelper context.

Overrides: TagHelperChildBase.AddSelfToParent(TagHelperContext)

C#
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Parameters:contextTagHelperContextoutputTagHelperOutputReturns:

Task

Overrides: TagHelperChildBase.ProcessAsync(TagHelperContext, TagHelperOutput)

Serializes the defined settings.

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>