Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenSteps

    RadzenSteps component.

    Inheritance
    System.Object
    RadzenComponent
    RadzenSteps
    Implements
    IDisposable
    Inherited Members
    RadzenComponent.Attributes
    RadzenComponent.Element
    RadzenComponent.MouseEnter
    RadzenComponent.MouseLeave
    RadzenComponent.ContextMenu
    RadzenComponent.Culture
    RadzenComponent.DefaultCulture
    RadzenComponent.OnMouseEnter()
    RadzenComponent.OnMouseLeave()
    RadzenComponent.OnContextMenu(Microsoft.AspNetCore.Components.Web.MouseEventArgs)
    RadzenComponent.Style
    RadzenComponent.Visible
    RadzenComponent.GetCssClass()
    RadzenComponent.GetId()
    RadzenComponent.Debounce(Func<Task>, Int32)
    RadzenComponent.UniqueID
    RadzenComponent.JSRuntime
    RadzenComponent.IsJSRuntimeAvailable
    RadzenComponent.OnInitialized()
    RadzenComponent.Reference
    RadzenComponent.OnAfterRenderAsync(Boolean)
    RadzenComponent.RaiseContextMenu(Microsoft.AspNetCore.Components.Web.MouseEventArgs)
    RadzenComponent.RaiseMouseEnter()
    RadzenComponent.RaiseMouseLeave()
    RadzenComponent.Dispose()
    RadzenComponent.CurrentStyle
    Namespace: Radzen.Blazor
    Assembly: Radzen.Blazor.dll
    Syntax
    public class RadzenSteps : RadzenComponent, IDisposable
    Examples
    <RadzenSteps Change=@(args => Console.WriteLine($"Selected index is: {args}"))>
        <Steps>
            <RadzenStepsItem Text="Orders">
                Details for Orders
            </RadzenStepsItem>
            <RadzenStepsItem Text="Employees">
                Details for Employees
            </RadzenStepsItem>
        </Steps>
    </RadzenTabs>

    Properties

    AllowStepSelect

    Declaration
    public bool AllowStepSelect { get; set; }
    Property Value
    Type Description
    System.Boolean

    true user can jump to any step if enabled; false user can change steps only with step buttons (previous/next).

    CanChange

    A callback that will be invoked when the user tries to change the step. Invoke the PreventDefault() method to prevent this change.

    Declaration
    public EventCallback<StepsCanChangeEventArgs> CanChange { get; set; }
    Property Value
    Type Description
    EventCallback<StepsCanChangeEventArgs>
    Examples
    <RadzenSteps CanChange=@OnCanChange>
    </RadzenSteps>
    @code {
     void OnCanChange(RadzenStepsCanChangeEventArgs args)
     {
        args.PreventDefault();
     }
    }

    Change

    Gets or sets the change callback.

    Declaration
    public EventCallback<int> Change { get; set; }
    Property Value
    Type Description
    EventCallback<System.Int32>

    The change callback.

    EditContext

    Gets or sets the edit context.

    Declaration
    public EditContext EditContext { get; set; }
    Property Value
    Type Description
    EditContext

    The edit context.

    NextAriaLabel

    Gets the next button aria-label attribute.

    Declaration
    public string NextAriaLabel { get; }
    Property Value
    Type Description
    System.String

    The next button aria-label attribute.

    NextText

    Gets or sets the next button text.

    Declaration
    public string NextText { get; set; }
    Property Value
    Type Description
    System.String

    The next button text.

    NextTitle

    Gets or sets the next button title attribute.

    Declaration
    public string NextTitle { get; set; }
    Property Value
    Type Description
    System.String

    The next button title attribute.

    PreviousAriaLabel

    Gets the previous button aria-label attribute.

    Declaration
    public string PreviousAriaLabel { get; }
    Property Value
    Type Description
    System.String

    The previous button aria-label attribute.

    PreviousText

    Gets or sets the previous button text.

    Declaration
    public string PreviousText { get; set; }
    Property Value
    Type Description
    System.String

    The previous button text.

    PreviousTitle

    Gets or sets the previous button title attribute.

    Declaration
    public string PreviousTitle { get; set; }
    Property Value
    Type Description
    System.String

    The previous button title attribute.

    SelectedIndex

    Gets or sets the selected index.

    Declaration
    public int SelectedIndex { get; set; }
    Property Value
    Type Description
    System.Int32

    The selected index.

    SelectedIndexChanged

    Gets or sets the selected index changed callback.

    Declaration
    public EventCallback<int> SelectedIndexChanged { get; set; }
    Property Value
    Type Description
    EventCallback<System.Int32>

    The selected index changed callback.

    ShowStepsButtons

    Gets or sets a value indicating whether to show steps buttons.

    Declaration
    public bool ShowStepsButtons { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if steps buttons are shown; otherwise, false.

    Steps

    Gets or sets the steps.

    Declaration
    public RenderFragment Steps { get; set; }
    Property Value
    Type Description
    RenderFragment

    The steps.

    StepsCollection

    Gets the steps collection.

    Declaration
    public IList<RadzenStepsItem> StepsCollection { get; }
    Property Value
    Type Description
    IList<RadzenStepsItem>

    The steps collection.

    Methods

    AddStep(RadzenStepsItem)

    Adds the step.

    Declaration
    public void AddStep(RadzenStepsItem step)
    Parameters
    Type Name Description
    RadzenStepsItem step

    The step.

    GetComponentCssClass()

    Gets the component CSS class.

    Declaration
    protected override string GetComponentCssClass()
    Returns
    Type Description
    System.String
    Overrides
    RadzenComponent.GetComponentCssClass()

    IsSelected(Int32, RadzenStepsItem)

    Determines whether the specified index is selected.

    Declaration
    protected bool IsSelected(int index, RadzenStepsItem step)
    Parameters
    Type Name Description
    System.Int32 index

    The index.

    RadzenStepsItem step

    The step.

    Returns
    Type Description
    System.Boolean

    true if the specified index is selected; otherwise, false.

    NextStep()

    Goes to next step.

    Declaration
    public async Threading.Tasks.Task NextStep()
    Returns
    Type Description
    System.Threading.Tasks.Task

    PrevStep()

    Goes to previous step.

    Declaration
    public async Threading.Tasks.Task PrevStep()
    Returns
    Type Description
    System.Threading.Tasks.Task

    RemoveStep(RadzenStepsItem)

    Removes the step.

    Declaration
    public void RemoveStep(RadzenStepsItem item)
    Parameters
    Type Name Description
    RadzenStepsItem item

    The item.

    SetParametersAsync(ParameterView)

    Called by the Blazor runtime when parameters are set.

    Declaration
    public override async Task SetParametersAsync(ParameterView parameters)
    Parameters
    Type Name Description
    ParameterView parameters

    The parameters.

    Returns
    Type Description
    Task
    Overrides
    RadzenComponent.SetParametersAsync(ParameterView)

    Implements

    IDisposable

    Introducing Radzen Blazor Studio

    Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.

    Learn More

    Download Now
    Download Now
    In This Article
    Back to top Radzen Blazor Components, © 2018-2025 Radzen. Source Code licensed under MIT