WizardStepTagHelper
Kendo UI WizardStep TagHelper WizardStepTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("wizard-step", ParentTag = "wizard-steps", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("wizard-step-buttons", new string[] { "wizard-step-content", "wizard-step-form", "icon" })]
[SuppressTagRendering]
public class WizardStepTagHelper : TagHelperCollectionItemBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseTagHelperCollectionItemBaseWizardStepTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-wizard name="wizard">
<wizard-steps>
<wizard-step>
<wizard-step-buttons>
<wizard-step-button text="Custom Button"></wizard-step-button>
</wizard-step-buttons>
</wizard-step>
</wizard-steps>
</kendo-wizard>
Child Tags
Constructors
Initializes a new instance of the WizardStepTagHelper class.
public WizardStepTagHelper()
Properties
Specifies a custom class that will be set on the step container element.
public string ClassName { get; set; }
Specifies the id of a DOM element, which content to be used as a content of the current step.
public string ContentId { get; set; }
Specifies an endpoint which the step content should be loaded from.
public string ContentUrl { get; set; }
Configures the built-in form for the current step.
[HtmlAttributeNotBound]
public IDictionary<string, object> FormSettings { get; set; }
Defines a name of an existing icon in the Kendo UI theme sprite. The icon will be displayed in the Stepper step element. For a list of available icon names, please refer to the Web Font Icons article.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
[HtmlAttributeName("icon")]
public string Icon { get; set; }
The template used to render the icon in the Stepper step.The fields which can be used in the template are: title String - the title set on the step; label String - same as title - the title set on the step; icon String - the icon specified for this step (if any); enabled Boolean - indicates whether the step is enabled (true) or disabled (false); selected Boolean - indicates whether the step is selected; previous Boolean - indicates whether the step is before the currently selected or not; index Number - a zero-based index of the current step; isFirstStep Boolean - indicates whether the step is the initial one in the Stepper; isLastStep Boolean - indicates whether the step is the last one in the Stepper; indicatorVisible Boolean - indicates whether the indicator, which holds the icon should be displayed or not or labelVisible Boolean - indicates whether the label section of the step should be displayed or not.
public string IconTemplate { get; set; }
The template used to render the icon in the Stepper step.The fields which can be used in the template are: title String - the title set on the step; label String - same as title - the title set on the step; icon String - the icon specified for this step (if any); enabled Boolean - indicates whether the step is enabled (true) or disabled (false); selected Boolean - indicates whether the step is selected; previous Boolean - indicates whether the step is before the currently selected or not; index Number - a zero-based index of the current step; isFirstStep Boolean - indicates whether the step is the initial one in the Stepper; isLastStep Boolean - indicates whether the step is the last one in the Stepper; indicatorVisible Boolean - indicates whether the indicator, which holds the icon should be displayed or not or labelVisible Boolean - indicates whether the label section of the step should be displayed or not. This option expects the name of a JavaScript function that will be called to return the template.
public string IconTemplateHandler { get; set; }
The template used to render the icon in the Stepper step.The fields which can be used in the template are: title String - the title set on the step; label String - same as title - the title set on the step; icon String - the icon specified for this step (if any); enabled Boolean - indicates whether the step is enabled (true) or disabled (false); selected Boolean - indicates whether the step is selected; previous Boolean - indicates whether the step is before the currently selected or not; index Number - a zero-based index of the current step; isFirstStep Boolean - indicates whether the step is the initial one in the Stepper; isLastStep Boolean - indicates whether the step is the last one in the Stepper; indicatorVisible Boolean - indicates whether the indicator, which holds the icon should be displayed or not or labelVisible Boolean - indicates whether the label section of the step should be displayed or not. This option expects the ID of the script element that contains the template.
public string IconTemplateId { get; set; }
The template used to render the icon in the Stepper step.The fields which can be used in the template are: title String - the title set on the step; label String - same as title - the title set on the step; icon String - the icon specified for this step (if any); enabled Boolean - indicates whether the step is enabled (true) or disabled (false); selected Boolean - indicates whether the step is selected; previous Boolean - indicates whether the step is before the currently selected or not; index Number - a zero-based index of the current step; isFirstStep Boolean - indicates whether the step is the initial one in the Stepper; isLastStep Boolean - indicates whether the step is the last one in the Stepper; indicatorVisible Boolean - indicates whether the indicator, which holds the icon should be displayed or not or labelVisible Boolean - indicates whether the label section of the step should be displayed or not. This option expects the IHtmlContent instance containing the created HTML.
public IHtmlContent IconTemplateView { get; set; }
Specifies whether the pager will be rendered on the current step or not.
public bool? Pager { 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.