WizardStepBuilder
Methods
Form(System.Action)
Parameters
configurator - System.Action<FormBuilder>
Icon(System.String)
Specifies the Stepper's step icon.
Parameters
value - System.String
The value that configures the icon.
Example
@(Html.Kendo().Wizard()
.Name("wizard")
.Steps(steps =>
{
steps.Add().Icon("k-i-home").ContentUrl(Url.Content("~/shared/web/wizard/ajax/ajaxContent1.html")).Title("Welcome")
.Buttons(b =>
{
b.Next();
});
})
)
IconTemplate(System.String)
Specifies the Stepper's step iconTemplate.
Parameters
value - System.String
The value that configures the iconTemplate.
Example
@(Html.Kendo().Wizard()
.Name("wizard")
.Steps(steps =>
{
steps.Add().IconTemplate("<i @class='k-icon k-i-home'></i>").ContentUrl(Url.Content("~/shared/web/wizard/ajax/ajaxContent1.html")).Title("Welcome")
.Buttons(b =>
{
b.Next();
});
})
)
IconTemplateId(System.String)
Specifies the Stepper's step iconTemplateId.
Parameters
value - System.String
The value that configures the iconTemplateId.
Example
@(Html.Kendo().Wizard()
.Name("wizard")
.Steps(steps =>
{
steps.Add().IconTemplateId("homeTemplate").ContentUrl(Url.Content("~/shared/web/wizard/ajax/ajaxContent1.html")).Title("Welcome")
.Buttons(b =>
{
b.Next();
});
})
)
Buttons(System.Action)
Allows configuration of the buttons to be rendered on each step. If the array contains strings, those values will be taken as Buttons names. If the array contains objects, those will be used when initializing the actual Button instances on each step.
Parameters
configurator - System.Action<WizardStepButtonFactory>
The configurator for the buttons setting.
Content(System.String)
Specifies the HTML string content to be rendered in the step.
Parameters
value - System.String
The value for Content
ContentId(System.String)
Specifies the id of a DOM element, which content to be used as a content of the current step.
Parameters
value - System.String
The value for ContentId
ContentUrl(System.String)
Specifies an endpoint which the step content should be loaded from.
Parameters
value - System.String
The value for ContentUrl
ClassName(System.String)
Specifies a custom class that will be set on the step container element.
Parameters
value - System.String
The value for ClassName
Enabled(System.Boolean)
Specifies whether the step is enabled or not.
Parameters
value - System.Boolean
The value for Enabled
Pager(System.Boolean)
Specifies whether the pager will be rendered on the current step or not.
Parameters
value - System.Boolean
The value for Pager
Title(System.String)
Specifies a title of the current step.
Parameters
value - System.String
The value for Title