Kendo UI TileLayoutContainer TagHelper TileLayoutContainerTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("container", ParentTag = "containers", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("container-header", new string[] { "container-body-template" })]
[SuppressTagRendering]
public class TileLayoutContainerTagHelper : TagHelperCollectionItemBase, ITagHelper, ITagHelperComponent, ITemplateComponent
Inheritance: objectTagHelperTagHelperChildBaseTagHelperCollectionItemBaseTileLayoutContainerTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-tilelayout name="tilelayout">
<containers>
<container body-template="<div>Tile body content</div>" />
</containers>
</kendo-tilelayout>
Child Tags
Constructors
Initializes a new instance of the TileLayoutContainerTagHelper class.
public TileLayoutContainerTagHelper()
Properties
The template which renders as content for the tile item.
public string BodyTemplate { get; set; }
The template which renders as content for the tile item. This option expects the name of a JavaScript function that will be called to return the template.
public string BodyTemplateHandler { get; set; }
The template which renders as content for the tile item. This option expects the ID of the script element that contains the template.
public string BodyTemplateId { get; set; }
The template which renders as content for the tile item. This option expects the IHtmlContent instance containing the created HTML.
public IHtmlContent BodyTemplateView { get; set; }
A value that determines how many columns will the tile item span.
public double? ColSpan { get; set; }
A value that determines how many rows will the tile item span.
public double? RowSpan { get; set; }
Represents a collection of templates defined for the component.
[HtmlAttributeNotBound]
public IDictionary<string, string> Templates { get; }
Implements:
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.