New to Telerik UI for BlazorStart a free 30-day trial

Defines a single step within a TelerikStepper. Configure label and visuals via Label, Text, Icon, and custom Template; control behavior with Optional, Disabled, and validation indicator through Valid. Use OnChange to intercept navigation before the step changes, and set accessibility with AriaControls.

Definition

Constructors

C#
public StepperStep()

Methods

C#
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters:__builderRenderTreeBuilder

Overrides: ComponentBase.BuildRenderTree(RenderTreeBuilder)

C#
public void Dispose()

Implements: IDisposable.Dispose()

C#
protected override void OnInitialized()

Overrides: ComponentBase.OnInitialized()

Properties

[Accessibility] Specifies the aria-controls attribute of the step.

C#
[Parameter]
public string AriaControls { get; set; }

Defines the CSS class of the step.

C#
[Parameter]
public string Class { get; set; }

Specifies if the step is disabled. If a step is disabled, users cannot select it.

C#
[Parameter]
public bool Disabled { get; set; }

Specifies the icon rendered in the step. You can use either a predefined Telerik Icon or a custom one. Refer to Icons - Documentation for more information on how icons work.

C#
[Parameter]
public object Icon { get; set; }

Defines the label of the step.

C#
[Parameter]
public string Label { get; set; }

Triggers before the step change.

C#
[Parameter]
public EventCallback<StepperStepChangeEventArgs> OnChange { get; set; }

Specifies if the step is optional. If "true", the step will show the label "(Optional)" to indicate that the step is not mandatory.

C#
[Parameter]
public bool Optional { get; set; }
C#
[Parameter]
public RenderFragment Template { get; set; }

Defines the text of the step. If Text and Icon are not set, the Component will show the step number.

C#
[Parameter]
public string Text { get; set; }

Specifies if the step is valid. Step validation serves as a visual indication whether a step is valid or not. It does not prevent users from navigating between steps. Default value is "null".

C#
[Parameter]
public bool? Valid { get; set; }