Kendo UI rootItem TagHelper ChartBreadcrumbRootItemSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("root-item", ParentTag = "kendo-chartbreadcrumb", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class ChartBreadcrumbRootItemSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseChartBreadcrumbRootItemSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-chart name="chart"></kendo-chart>
<kendo-chartbreadcrumb name="chartBreadcrumb" chart="chart">
<root-item encoded="false" />
</kendo-chartbreadcrumb>
Constructors
Initializes a new instance of the ChartBreadcrumbRootItemSettingsTagHelper class.
public ChartBreadcrumbRootItemSettingsTagHelper()
Properties
Defines whether to encode the item's text. To render entities or HTML, set it to false.
public bool? Encoded { get; set; }
Defines the navigation link's url of the item (rendered if navigation is true).
public string Href { get; set; }
Defines the icon classes (the span element).
public string IconClass { get; set; }
Defines whether to show the icon. Default value is true for rootItem and false for item.
public bool? ShowIcon { get; set; }
Defines whether to show the text. Default value is false for rootItem and true for item.
public bool? ShowText { 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.