RayCraftDocs
v1.0.3 raycraft.dev
On this page

Stepper

Free

Guides the user through a sequence of steps with Back and Next buttons.

Example

Stepper control

Parameters

Stepper

ParameterTypeDescription
ActiveIndexintIndex of the selected tab. Use with @bind-ActiveIndex.
AllowJumpBackboolMakes finished steps in the header buttons that reopen them.
ChildContentRenderFragmentContent rendered inside the component.
ClassstringExtra CSS classes added to the root element.
ShowButtonsboolShows the Back and Next buttons.
StylestringInline style added to the root element.

StepperStep

ParameterTypeDescription
ChildContentRenderFragmentContent rendered inside the component.
TitlestringTitle text (drawer header, tab caption, column header, step caption).
ValidateFunc<Task<bool>>Stepper step: runs before moving on, return false to stay on the step. DataGrid column: receives the item and the parsed value and returns an error text or null.

Events

Stepper

EventTypeDescription
ActiveIndexChangedEventCallback<int>Raised when another tab is selected.
OnCancelEventCallbackShows a Cancel button and raises this when it is pressed.
OnFinishEventCallbackRaised when Next is pressed on the last step.

Package

Stepper is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.