ChartWizardTagHelper
Kendo UI ChartWizard TagHelper ChartWizardTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("kendo-chartwizard")]
[RestrictChildren("data-columns", new string[] { "export-options", "messages", "state", "default-state", "datasource", "window" })]
public class ChartWizardTagHelper : TagHelperBase, ITagHelper, ITagHelperComponent, IDataBoundWidget<DataSourceTagHelper>
Inheritance: objectTagHelperTagHelperBaseChartWizardTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
@model List<Product>
<kendo-chartwizard name="chartwizard">
<datasource type="DataSourceTagHelperType.Ajax" server-operation="false" data="@Model">
</datasource>
<data-columns>
<data-column field="ProductName" title="Product Name" />
<data-column field="Quantity" />
</data-columns>
</kendo-chartwizard>
Child Tags
Constructors
Initializes a new instance of the ChartWizardTagHelper class.
public ChartWizardTagHelper(IKendoHtmlGenerator generator)
Properties
The collection of data items which the data source contains.
public IEnumerable BindTo { get; set; }
The Id of the data source.
public string DatasourceId { get; set; }
The name of the JavaScript function that will handle the change event. Triggered when the ChartWizard changes its state.
public string OnChange { get; set; }
The name of the JavaScript function that will handle the close event. Triggered when a ChartWizard is closed either by the user or through the close() method.
public string OnClose { get; set; }
The name of the JavaScript function that will handle the dataBinding event. Fired before the widget binds to its data source.
public string OnDataBinding { get; set; }
The name of the JavaScript function that will handle the dataBound event. Fired when the widget is bound to data from its data source.
public string OnDataBound { get; set; }
The name of the JavaScript function that will handle the exportImage event. Triggered when the ChartWizard export the chart to Image.
public string OnExportImage { get; set; }
The name of the JavaScript function that will handle the exportPDF event. Triggered when the ChartWizard export the chart to PDF.
public string OnExportPDF { get; set; }
The name of the JavaScript function that will handle the exportSVG event. Triggered when the ChartWizard export the chart to SVG.
public string OnExportSVG { get; set; }
The name of the JavaScript function that will handle the kendoKeydown event. Triggered when the user presses a keyboard key while the ChartWizard is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public string OnKendoKeydown { get; set; }
The name of the JavaScript function that will handle the open event. Triggered when a ChartWizard is opened through the open() method.
public string OnOpen { get; set; }
Sets the configuration of the chart wizard window.
[HtmlAttributeNotBound]
public Dictionary<string, object> WindowSettings { get; set; }
Methods
Gets the initialization script.
protected override string GetInitializationScript()
The initialization script.
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.
public override IDictionary<string, object> Serialize()
Overrides:
SerializeEvents method.
protected override Dictionary<string, object> SerializeEvents()
Overrides:
SerializeSettings method.
protected override Dictionary<string, object> SerializeSettings()
Overrides:
Writes the HTML output.
protected override void WriteHtml(TagHelperOutput output)
The TagHelper output.
Overrides: