StepperStepBuilder
Defines the fluent API for configuring StepperStep
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class StepperStepBuilder
Inheritance: objectStepperStepBuilder
Inherited Members
Constructors
StepperStepBuilder method.
Properties
Gets the settings being configured.
protected StepperStep Container { get; }
Methods
Defines whether the Step is enabled or not. By default all steps are enabled.
public StepperStepBuilder Enabled(bool value)
The value for Enabled
Returns:Returns the current StepperStepBuilder instance.
Defines whether the Step is in error state (is invalid). By default all steps are valid.
Defines whether the Step is in error state (is invalid). By default all steps are valid.
public StepperStepBuilder Error(bool value)
The value for Error
Returns:Returns the current StepperStepBuilder instance.
Defines a name of an existing icon in the Kendo UI theme sprite. The icon will be displayed in the indicator element of that Step. For a list of available icon names, please refer to the Web Font Icons article.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
public StepperStepBuilder Icon(Action<StepperStepIconSettingsBuilder> configurator)
The StepperStepIconSettingsBuilder for the icon setting.
Returns:Returns the current instance of StepperStepBuilder .
Defines a name of an existing icon in the Kendo UI theme sprite. The icon will be displayed in the indicator element of that Step. For a list of available icon names, please refer to the Web Font Icons article.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
public StepperStepBuilder Icon(string icon)
The icon.
Returns:Returns the current instance of StepperStepBuilder .
The template used to render the icon in the indicator of the step.The fields which can be used in the template are: label String - the label set on the step; icon String - the icon specified for this step (if any); successIcon String - the successIcon specified for this step (if any); enabled Boolean - indicates whether the step is enabled (true) or disabled (false); error Boolean - indicates whether the step has error (true) or not (false); selected Boolean - indicates whether the step is selected; previous Boolean - indicates whether the step is before the currently selected or not; index Number - a zero-based index of the current step; isFirstStep Boolean - indicates whether the step is the initial one in the Stepper; isLastStep Boolean - indicates whether the step is the last one in the Stepper; indicatorVisible Boolean - indicates whether the indicator, which holds the icon should be displayed or not or labelVisible Boolean - indicates whether the label section of the step should be displayed or not.
public StepperStepBuilder IconTemplate(string value)
The value for IconTemplate
Returns:Returns the current StepperStepBuilder instance.
The template used to render the icon in the indicator of the step.The fields which can be used in the template are: label String - the label set on the step; icon String - the icon specified for this step (if any); successIcon String - the successIcon specified for this step (if any); enabled Boolean - indicates whether the step is enabled (true) or disabled (false); error Boolean - indicates whether the step has error (true) or not (false); selected Boolean - indicates whether the step is selected; previous Boolean - indicates whether the step is before the currently selected or not; index Number - a zero-based index of the current step; isFirstStep Boolean - indicates whether the step is the initial one in the Stepper; isLastStep Boolean - indicates whether the step is the last one in the Stepper; indicatorVisible Boolean - indicates whether the indicator, which holds the icon should be displayed or not or labelVisible Boolean - indicates whether the label section of the step should be displayed or not.
public StepperStepBuilder IconTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the icontemplate.
Returns:Returns the current StepperStepBuilder instance.
The template used to render the icon in the indicator of the step.The fields which can be used in the template are: label String - the label set on the step; icon String - the icon specified for this step (if any); successIcon String - the successIcon specified for this step (if any); enabled Boolean - indicates whether the step is enabled (true) or disabled (false); error Boolean - indicates whether the step has error (true) or not (false); selected Boolean - indicates whether the step is selected; previous Boolean - indicates whether the step is before the currently selected or not; index Number - a zero-based index of the current step; isFirstStep Boolean - indicates whether the step is the initial one in the Stepper; isLastStep Boolean - indicates whether the step is the last one in the Stepper; indicatorVisible Boolean - indicates whether the indicator, which holds the icon should be displayed or not or labelVisible Boolean - indicates whether the label section of the step should be displayed or not.
public StepperStepBuilder IconTemplateHandler(string templateHandler)
The handler that returs the template for IconTemplate
Returns:Returns the current StepperStepBuilder instance.
The template used to render the icon in the indicator of the step.The fields which can be used in the template are: label String - the label set on the step; icon String - the icon specified for this step (if any); successIcon String - the successIcon specified for this step (if any); enabled Boolean - indicates whether the step is enabled (true) or disabled (false); error Boolean - indicates whether the step has error (true) or not (false); selected Boolean - indicates whether the step is selected; previous Boolean - indicates whether the step is before the currently selected or not; index Number - a zero-based index of the current step; isFirstStep Boolean - indicates whether the step is the initial one in the Stepper; isLastStep Boolean - indicates whether the step is the last one in the Stepper; indicatorVisible Boolean - indicates whether the indicator, which holds the icon should be displayed or not or labelVisible Boolean - indicates whether the label section of the step should be displayed or not.
public StepperStepBuilder IconTemplateId(string templateId)
The ID of the template element for IconTemplate
Returns:Returns the current StepperStepBuilder instance.
The template used to render the icon in the indicator of the step.The fields which can be used in the template are: label String - the label set on the step; icon String - the icon specified for this step (if any); successIcon String - the successIcon specified for this step (if any); enabled Boolean - indicates whether the step is enabled (true) or disabled (false); error Boolean - indicates whether the step has error (true) or not (false); selected Boolean - indicates whether the step is selected; previous Boolean - indicates whether the step is before the currently selected or not; index Number - a zero-based index of the current step; isFirstStep Boolean - indicates whether the step is the initial one in the Stepper; isLastStep Boolean - indicates whether the step is the last one in the Stepper; indicatorVisible Boolean - indicates whether the indicator, which holds the icon should be displayed or not or labelVisible Boolean - indicates whether the label section of the step should be displayed or not.
public StepperStepBuilder IconTemplateView(IHtmlContent templateView)
The view that contains the template for IconTemplate
Returns:Returns the current StepperStepBuilder instance.
Defines the label (text) of the Step.
public StepperStepBuilder Label(string value)
The value for Label
Returns:Returns the current StepperStepBuilder instance.
Defines whether the Step is selected.
Defines whether the Step is selected.
public StepperStepBuilder Selected(bool value)
The value for Selected
Returns:Returns the current StepperStepBuilder instance.
Defines a name of an existing icon in the Kendo UI theme sprite. The icon will be displayed in the indicator element of that Step, when the step is a previous one and it does not have an error. For a list of available icon names, please refer to the Web Font Icons article.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
public StepperStepBuilder SuccessIcon(Action<StepperStepSuccessIconSettingsBuilder> configurator)
The StepperStepSuccessIconSettingsBuilder for the successicon setting.
Returns:Returns the current instance of StepperStepBuilder .
Defines a name of an existing icon in the Kendo UI theme sprite. The icon will be displayed in the indicator element of that Step, when the step is a previous one and it does not have an error. For a list of available icon names, please refer to the Web Font Icons article.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
public StepperStepBuilder SuccessIcon(string successIcon)
The successicon.
Returns:Returns the current instance of StepperStepBuilder .