Provides a fluent interface for configuring Wizard step properties and content.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class WizardStepBuilderGeneric<T> where T : class
Inheritance: objectWizardStepBuilderGeneric<T>
Inherited Members
Constructors
public WizardStepBuilderGeneric(WizardStepGeneric<T> settings, ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator generator)
Methods
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.
public WizardStepBuilderGeneric<T> Buttons(Action<WizardStepButtonFactory> configurator)
The action that configures the buttons.
Returns:Specifies a custom class that will be set on the step container element.
public WizardStepBuilderGeneric<T> ClassName(string value)
The value that configures the customclass.
Returns:Specifies the HTML string content to be rendered in the step.
public WizardStepBuilderGeneric<T> Content(string value)
The value for Content
Returns:Returns the current WizardStepBuilderGeneric<T> instance.
Specifies the id of a DOM element, which content to be used as a content of the current step.
public WizardStepBuilderGeneric<T> ContentId(string value)
The value that configures the contentid.
Returns:Specifies an endpoint which the step content should be loaded from.
public WizardStepBuilderGeneric<T> ContentUrl(string value)
The value that configures the contenturl.
Returns:Specifies whether the step is enabled or not.
public WizardStepBuilderGeneric<T> Enabled(bool value)
The value that configures the enabled.
Returns:Specifies the Form that will be rendered as part of the Step's content
public WizardStepBuilderGeneric<T> Form(Action<FormBuilder<T>> configurator)
Specifies the Stepper's step icon.
public WizardStepBuilderGeneric<T> Icon(string value)
The value that configures the icon.
Returns:Specifies the Stepper's step iconTemplate.
public WizardStepBuilderGeneric<T> IconTemplate(MvcHtmlString value)
The value that configures the iconTemplate.
Returns:Specifies the Stepper's step iconTemplateId.
public WizardStepBuilderGeneric<T> IconTemplateId(string value)
The value that configures the iconTemplateId.
Returns:Specifies whether the pager will be rendered on the current step or not.
public WizardStepBuilderGeneric<T> Pager(bool value)
The value that configures the pager.
Returns:Specifies a title of the current step.
public virtual WizardStepBuilderGeneric<T> Title(string value)
The value that configures the title.
Returns: