Stepper
Kendo UI Stepper component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class Stepper : WidgetBase, IWidget, IHtmlAttributesContainer, IScriptableComponent
Inheritance: objectWidgetBaseStepper
Implements:
Inherited Members
Constructors
Initializes a new instance of the Stepper class.
public Stepper(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
The view context
initializerIJavaScriptInitializerThe JavaScriptInitializer
urlGeneratorIUrlGeneratorThe URL generator.
Properties
Indicates whether the Steps in the Stepper will render their indicator element (the icon or number placed in a circle above the Step label).
public bool? Indicator { get; set; }
Indicates whether the Steps in the Stepper will render their label element (the text placed below the Step indicator circle).
public bool? Label { get; set; }
Indicates whether the Stepper will force the user to follow the Steps sequence or not. If set to "false" it will allow the user to select any step. If in its default state ("true") the user will be able to select the step immediately after the currently selected step or the previous step.
public bool? Linear { get; set; }
The type of the Stepper orientation (horizontal or vertical).
public StepperOrientationType? Orientation { get; set; }
Applicable for scenarios when keyboard is used for navigation. Indicates whether the selection will change upon focus change or it will require additional action (Enter or Spacebar key press) in order to select the focused step.
public bool? SelectOnFocus { get; set; }
Array of steps to be rendered in the Stepper. If the array contains objects, their fields will be used for each Step. If the array contains strings, those will be used as Step labels.
public List<StepperStep> Steps { get; set; }
Methods
public override IDictionary<string, object> Serialize()
Overrides:
Writes the HTML.
protected override void WriteHtml(HtmlTextWriter writer)
The HtmlTextWriter.
Overrides:
Writes the initialization script.
public override void WriteInitializationScript(TextWriter writer)
The TextWriter.
Overrides: