Class
WizardStep

The class for the wizard step component.

Definition

Constructors

WizardStep()

Declaration

cs-api-definition
public WizardStep()

Properties

Content

Defines the content of the step.

Declaration

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

Property Value

RenderFragment

Disabled

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

Declaration

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

Property Value

bool

Icon

Specifies an 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. The handler receives an object of type WizardStepChangeEventArgs.

Declaration

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

Property Value

EventCallback<WizardStepChangeEventArgs>

Optional

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

Declaration

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

Property Value

bool

StepTemplate

Use the StepTemplate to control the rendering of the Stepper Step.

Declaration

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

Property Value

RenderFragment

Text

Defines the step indicator text.

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 the users from navigating between steps. Default value is "null".

Declaration

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

Property Value

bool?

Methods

Dispose()

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

OnInitialized()

Declaration

cs-api-definition
protected override void OnInitialized()

Overrides ComponentBase.OnInitialized()

OnParametersSetAsync()

Declaration

cs-api-definition
protected override Task OnParametersSetAsync()

Returns

Task

Overrides ComponentBase.OnParametersSetAsync()

SetParametersAsync(ParameterView)

Declaration

cs-api-definition
public override Task SetParametersAsync(ParameterView parameters)

Parameters

parameters

ParameterView

Returns

Task

Overrides ComponentBase.SetParametersAsync(ParameterView)