StepperStep
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
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class StepperStep : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseStepperStep
Implements:
Inherited Members
Constructors
public StepperStep()
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
public void Dispose()
Implements:
protected override void OnInitialized()
Overrides:
Properties
[Accessibility] Specifies the aria-controls attribute of the step.
[Parameter]
public string AriaControls { get; set; }
Specifies if the step is disabled. If a step is disabled, users cannot select it.
[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.
[Parameter]
public object Icon { get; set; }
Triggers before the step change.
[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.
[Parameter]
public bool Optional { get; set; }
Defines the template of the step. See https://docs.telerik.com/blazor-ui/components/stepper/step-template.
[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.
[Parameter]
public string Text { get; set; }