Kendo UI mini TagHelper DrawerMiniSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("mini", ParentTag = "kendo-drawer", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("mini-mode-items-template", new string[] { })]
[SuppressTagRendering]
public class DrawerMiniSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent, ITemplateComponent
Inheritance: objectTagHelperTagHelperChildBaseDrawerMiniSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-drawer name="drawer">
<mini enabled="true"></mini>
</kendo-drawer>
Child Tags
Constructors
Initializes a new instance of the DrawerMiniSettingsTagHelper class.
public DrawerMiniSettingsTagHelper()
Properties
Defines a specific template for the Kendo UI Drawer when in mini mode. When configured, it takes precedence over items.miniTemplate.
public string Template { get; set; }
Defines a specific template for the Kendo UI Drawer when in mini mode. When configured, it takes precedence over items.miniTemplate. This option expects the name of a JavaScript function that will be called to return the template.
public string TemplateHandler { get; set; }
Defines a specific template for the Kendo UI Drawer when in mini mode. When configured, it takes precedence over items.miniTemplate. This option expects the ID of the script element that contains the template.
public string TemplateId { get; set; }
Configures the templates for the DrawerItem in mini mode.
[HtmlAttributeNotBound]
public IDictionary<string, string> Templates { get; }
Implements:
Defines a specific template for the Kendo UI Drawer when in mini mode. When configured, it takes precedence over items.miniTemplate. 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.
Serializes the defined templates.