# StepperStepBuilder

## Methods

### Enabled(System.Boolean)

Defines whether the Step is enabled or not. By default all steps are enabled.

#### Parameters

##### value - `System.Boolean`

The value for Enabled

#### RETURNS

Returns the current [StepperStepBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/stepperstepbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Stepper()
                        .Name("stepper")
                        .Steps(s =>
                        {
                            s.Add().Label("Personal Info").Icon("user");
                        })
            )
             
```

### Error(System.Boolean)

Defines whether the Step is in error state (is invalid). By default all steps are valid.

#### Parameters

##### value - `System.Boolean`

The value for Error

#### RETURNS

Returns the current [StepperStepBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/stepperstepbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Stepper()
                        .Name("stepper")
                        .Steps(s =>
                        {
                            s.Add().Label("Personal Info").Icon("user").Error(false);
                        })
            )
             
```

### Error()

Defines whether the Step is in error state (is invalid). By default all steps are valid.

#### RETURNS

Returns the current [StepperStepBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/stepperstepbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Stepper()
                        .Name("stepper")
                        .Steps(s =>
                        {
                            s.Add().Label("Personal Info").Icon("user").Error(false);
                        })
            )
             
```

### Icon(System.String)

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.

#### Parameters

##### icon - `System.String`

The icon.

#### RETURNS

Returns the current instance of [StepperStepBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/stepperstepbuilder) .

### Icon(System.Action)

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.

#### Parameters

##### configurator - System.Action<[StepperStepIconSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/stepperstepiconsettingsbuilder)>

The configurator for the icon setting.

#### RETURNS

Returns the current instance of [StepperStepBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/stepperstepbuilder) .

### IconTemplate(System.String)

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.

#### Parameters

##### value - `System.String`

The value for IconTemplate

#### RETURNS

Returns the current [StepperStepBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/stepperstepbuilder) instance.

### IconTemplateId(System.String)

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.

#### Parameters

##### templateId - `System.String`

The ID of the template element for IconTemplate

#### RETURNS

Returns the current [StepperStepBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/stepperstepbuilder) instance.

### IconTemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

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.

#### Parameters

##### templateView - `Microsoft.AspNetCore.Html.IHtmlContent`

The view that contains the template for IconTemplate

#### RETURNS

Returns the current [StepperStepBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/stepperstepbuilder) instance.

### IconTemplateHandler(System.String)

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.

#### Parameters

##### templateHandler - `System.String`

The handler that returs the template for IconTemplate

#### RETURNS

Returns the current [StepperStepBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/stepperstepbuilder) instance.

### IconTemplate(Kendo.Mvc.UI.Fluent.TemplateBuilder)

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.

#### Parameters

##### template - TemplateBuilder\<TModel>

A Template component that configures the icontemplate.

#### RETURNS

Returns the current [StepperStepBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/stepperstepbuilder) instance.

### Label(System.String)

Defines the label (text) of the Step.

#### Parameters

##### value - `System.String`

The value for Label

#### RETURNS

Returns the current [StepperStepBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/stepperstepbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Stepper()
                        .Name("stepper")
                        .Steps(s =>
                        {
                            s.Add().Label("Personal Info").Icon("user");
                        })
            )
             
```

### Selected(System.Boolean)

Defines whether the Step is selected.

#### Parameters

##### value - `System.Boolean`

The value for Selected

#### RETURNS

Returns the current [StepperStepBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/stepperstepbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Stepper()
                        .Name("stepper")
                        .Steps(s =>
                        {
                            s.Add().Label("Personal Info").Icon("user").Selected(true);
                        })
            )
             
```

### Selected()

Defines whether the Step is selected.

#### RETURNS

Returns the current [StepperStepBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/stepperstepbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Stepper()
                        .Name("stepper")
                        .Steps(s =>
                        {
                            s.Add().Label("Personal Info").Icon("user").Selected(true);
                        })
            )
             
```

### SuccessIcon(System.String)

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.

#### Parameters

##### successIcon - `System.String`

The successicon.

#### RETURNS

Returns the current instance of [StepperStepBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/stepperstepbuilder) .

### SuccessIcon(System.Action)

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.

#### Parameters

##### configurator - System.Action<[StepperStepSuccessIconSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/stepperstepsuccessiconsettingsbuilder)>

The configurator for the successicon setting.

#### RETURNS

Returns the current instance of [StepperStepBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/stepperstepbuilder) .
