Class
StepperStep

The class for the stepper step component.

Definition

Constructors

StepperStep()

Declaration

cs-api-definition
public StepperStep()

Properties

AriaControls

Specifies the aria-controls attribute of the step.

Declaration

cs-api-definition
[Parameter]
public string AriaControls { get; set; }

Property Value

string

Class

Defines the CSS class of the step.

Declaration

cs-api-definition
[Parameter]
public string Class { get; set; }

Property Value

string

Disabled

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

Declaration

cs-api-definition
[Parameter]
public bool Disabled { get; set; }

Property Value

bool

Icon

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.

Declaration

cs-api-definition
[Parameter]
public object Icon { get; set; }

Property Value

object

Label

Defines the label of the step.

Declaration

cs-api-definition
[Parameter]
public string Label { get; set; }

Property Value

string

OnChange

Triggers before the step change.

Declaration

cs-api-definition
[Parameter]
public EventCallback<StepperStepChangeEventArgs> OnChange { get; set; }

Property Value

EventCallback<StepperStepChangeEventArgs>

Optional

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

Declaration

cs-api-definition
[Parameter]
public bool Optional { get; set; }

Property Value

bool

Template

Declaration

cs-api-definition
[Parameter]
public RenderFragment Template { get; set; }

Property Value

RenderFragment

Text

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

Declaration

cs-api-definition
[Parameter]
public string Text { get; set; }

Property Value

string

Valid

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".

Declaration

cs-api-definition
[Parameter]
public bool? Valid { get; set; }

Property Value

bool?

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

Dispose()

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

OnInitialized()

Declaration

cs-api-definition
protected override void OnInitialized()

Overrides ComponentBase.OnInitialized()