Kendo UI WizardStepButton TagHelper WizardStepButtonTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("wizard-step-button", ParentTag = "wizard-step-buttons", TagStructure = TagStructure.NormalOrSelfClosing)]
[SuppressTagRendering]
public class WizardStepButtonTagHelper : TagHelperCollectionItemBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseTagHelperCollectionItemBaseWizardStepButtonTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-wizard name="wizard">
<wizard-steps>
<wizard-step>
<wizard-step-buttons>
<wizard-step-button name="btn" text="Click me" click="handler"></wizard-step-button>
</wizard-step-buttons>
</wizard-step>
</wizard-steps>
</kendo-wizard>
<script>
function handler(e) {
//handler code
}
</script>
Constructors
Initializes a new instance of the WizardStepButtonTagHelper class.
public WizardStepButtonTagHelper()
Properties
A click handler that defines the logic to be executed upon button click.
public string Click { get; set; }
Specifies whether the Button in question is enabled or not.
public bool? Enabled { get; set; }
Specifies the name of the Button. The default buttons have "reserved" names (those names are "previous", "next", "done", "reset"). That would allow additional customization of that Buttons' text and behavior.
public string Name { get; set; }
Specifies whether the Button will have the k-primary class assigned or not.
public bool? Primary { 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.