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

Kendo UI state TagHelper ChartWizardStateSettingsTagHelper class.

Definition

Namespace:Kendo.Mvc.TagHelpers

Assembly:Kendo.Mvc.dll

Syntax:

C#
[HtmlTargetElement("state", ParentTag = "kendo-chartwizard", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("initial-series", new string[] { "state-series", "title", "subtitle", "area", "state-category-axis", "state-value-axis", "legend", "stack" })]
[SuppressTagRendering]
public class ChartWizardStateSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent

Inheritance: objectTagHelperTagHelperChildBaseChartWizardStateSettingsTagHelper

Implements: ITagHelperITagHelperComponent

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-chartwizard name="chartwizard">
    <state>
        <area></area>
    </state>
</kendo-chartwizard>

Constructors

Initializes a new instance of the ChartWizardStateSettingsTagHelper class.

C#
public ChartWizardStateSettingsTagHelper()

Properties

The field which represents the configuration of the series.categoryField.

C#
public string CategoryField { get; set; }

Specifies the columns to be used for the ChartWizard component. An array of strings should be provided.

C#
public string[] Columns { get; set; }

Specifies the data to be visualized in ChartWizard component. ChartWizard component needs a specific type of data(ChartWizardDataRow) to work as expected. This type of data, which is an array consists of single or multiple arrays of Objects, which have the field and value properties.

C#
public IEnumerable Data { get; set; }

Specifies the series type.

C#
public ChartWizardSeriesType? SeriesType { get; set; }

The chart title configuration options or text.

C#
[HtmlAttributeName("title")]
public string TitleValue { get; set; }

The field which represents the configuration of the series.valueField.

C#
public string ValueField { 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>