Class StepperStep
The class for the stepper step component.
Inheritance
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class StepperStep : ComponentBase, IStep, IDisposable
Constructors
StepperStep()
Declaration
public StepperStep()
Properties
AriaControls
Specifies the aria-controls attribute of the step.
Declaration
public string AriaControls { get; set; }
Property Value
System.String
|
Class
Defines the CSS class of the step.
Declaration
public string Class { get; set; }
Property Value
System.String
|
Disabled
Specifies if the step is disabled. If a step is disabled, users cannot select it.
Declaration
public bool Disabled { get; set; }
Property Value
System.Boolean
|
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
public object Icon { get; set; }
Property Value
System.Object
|
Label
Defines the label of the step.
Declaration
public string Label { get; set; }
Property Value
System.String
|
OnChange
Triggers before the step change.
Declaration
public EventCallback<StepperStepChangeEventArgs> OnChange { get; set; }
Property Value
Microsoft.AspNetCore.Components.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
public bool Optional { get; set; }
Property Value
System.Boolean
|
Template
Defines the template of the step. See https://docs.telerik.com/blazor-ui/components/stepper/step-template.
Declaration
public RenderFragment Template { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
Text
Defines the text of the step. If Text
and Icon are not set, the Component will show the step number.
Declaration
public string Text { get; set; }
Property Value
System.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
public Nullable<bool> Valid { get; set; }
Property Value
System.Nullable<System.Boolean>
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
Dispose()
Declaration
public void Dispose()
OnInitialized()
Declaration
protected override void OnInitialized()