StepperBuilder
Defines the fluent API for configuring the Kendo UI Stepper
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class StepperBuilder : WidgetBuilderBase<Stepper, StepperBuilder>, IHtmlContent
Inheritance: objectHelperResultWidgetBuilderBase<Stepper, StepperBuilder>StepperBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the StepperBuilder class.
Methods
Configures the client-side events.
public StepperBuilder Events(Action<StepperEventBuilder> configurator)
The client events action.
Returns:Returns the current StepperBuilder instance.
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 StepperBuilder Indicator(bool value)
The value for Indicator
Returns:Returns the current StepperBuilder instance.
Indicates whether the Steps in the Stepper will render their label element (the text placed below the Step indicator circle).
public StepperBuilder Label(bool value)
The value for Label
Returns:Returns the current StepperBuilder instance.
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 StepperBuilder Linear(bool value)
The value for Linear
Returns:Returns the current StepperBuilder instance.
The type of the Stepper orientation (horizontal or vertical).
public StepperBuilder Orientation(StepperOrientationType value)
The value for Orientation
Returns:Returns the current StepperBuilder instance.
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.
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 StepperBuilder SelectOnFocus(bool value)
The value for SelectOnFocus
Returns:Returns the current StepperBuilder instance.
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 StepperBuilder Steps(Action<StepperStepFactory> configurator)
The StepperStepFactory for the steps setting.
Returns:Returns the current instance of StepperBuilder .