Class
WizardStep

The class for the wizard step component.

Definition

Constructors

WizardStep()

Declaration

public WizardStep()

Properties

Content

Defines the content of the step.

Declaration

[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

[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

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

Property Value

object

Label

Defines the label of the step.

Declaration

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

Property Value

string

OnChange

Triggers before the step change. The handler receives an object of type WizardStepChangeEventArgs.

Declaration

[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

[Parameter]
public bool Optional { get; set; }

Property Value

bool

StepTemplate

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

Declaration

[Parameter]
public RenderFragment StepTemplate { get; set; }

Property Value

RenderFragment

Text

Defines the step indicator text.

Declaration

[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

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

Property Value

bool?

Methods

Dispose()

Declaration

public void Dispose()

Implements IDisposable.Dispose()

OnInitialized()

Declaration

protected override void OnInitialized()

Overrides ComponentBase.OnInitialized()

OnParametersSetAsync()

Declaration

protected override Task OnParametersSetAsync()

Returns

Task

Overrides ComponentBase.OnParametersSetAsync()

SetParametersAsync(ParameterView)

Declaration

public override Task SetParametersAsync(ParameterView parameters)

Parameters

parameters

ParameterView

Returns

Task

Overrides ComponentBase.SetParametersAsync(ParameterView)