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

Kendo UI hint TagHelper StockChartNavigatorHintSettingsTagHelper class.

Definition

Namespace:Kendo.Mvc.TagHelpers

Assembly:Kendo.Mvc.dll

Syntax:

C#
[HtmlTargetElement("hint", ParentTag = "navigator", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class StockChartNavigatorHintSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent, ITemplateComponent

Inheritance: objectTagHelperTagHelperChildBaseStockChartNavigatorHintSettingsTagHelper

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-stockchart name="stockchart">
    <navigator>
        <hint format="{0:C}" />
    </navigator>
</kendo-stockchart>

Constructors

Initializes a new instance of the StockChartNavigatorHintSettingsTagHelper class.

C#
public StockChartNavigatorHintSettingsTagHelper()

Properties

The format of the hint.

C#
public string Format { get; set; }

The hint template. Template variables: from - The lower boundary of the selected range or to - Theupper boundary of the selected range.

C#
public string Template { get; set; }

The hint template. Template variables: from - The lower boundary of the selected range or to - Theupper boundary of the selected range. This option expects the name of a JavaScript function that will be called to return the template.

C#
public string TemplateHandler { get; set; }

The hint template. Template variables: from - The lower boundary of the selected range or to - Theupper boundary of the selected range. This option expects the ID of the script element that contains the template.

C#
public string TemplateId { get; set; }

Configures the templates for the StockChartNavigatorHintSettings.

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

Implements: ITemplateComponent.Templates

The hint template. Template variables: from - The lower boundary of the selected range or to - Theupper boundary of the selected range. This option expects the IHtmlContent instance containing the created HTML.

C#
public IHtmlContent TemplateView { get; set; }

The visibility of the hint.

C#
public bool? Visible { 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>

Serializes the defined templates.

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

Dictionary<string, object>