Kendo UI header TagHelper TileLayoutContainerHeaderSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("container-header", ParentTag = "container", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("container-header-template", new string[] { })]
[SuppressTagRendering]
public class TileLayoutContainerHeaderSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent, ITemplateComponent
Inheritance: objectTagHelperTagHelperChildBaseTileLayoutContainerHeaderSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-tilelayout name="tilelayout">
<containers>
<container body-template="<b>Body template</b>">
<container-header template="<div>Header Content</div>"></container-header>
</container>
</containers>
</kendo-tilelayout>
Child Tags
Constructors
Initializes a new instance of the TileLayoutContainerHeaderSettingsTagHelper class.
public TileLayoutContainerHeaderSettingsTagHelper()
Properties
The template that will be rendered as a header.
public string Template { get; set; }
The template that will be rendered as a header. This option expects the name of a JavaScript function that will be called to return the template.
public string TemplateHandler { get; set; }
The template that will be rendered as a header. This option expects the ID of the script element that contains the template.
public string TemplateId { get; set; }
A collection of templates that can be used in the component.
[HtmlAttributeNotBound]
public IDictionary<string, string> Templates { get; }
Implements:
The template that will be rendered as a header. This option expects the IHtmlContent instance containing the created HTML.
public IHtmlContent TemplateView { get; set; }
Methods
Adds the current TagHelper instance to its parent TagHelper.
protected override void AddSelfToParent(TagHelperContext context)
The TagHelper context.
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.