diff --git a/components/stepper/events.md b/components/stepper/events.md index b4af02414d..ae7e5ac237 100644 --- a/components/stepper/events.md +++ b/components/stepper/events.md @@ -10,7 +10,58 @@ position: 25 # Stepper Events -This article explains the events available in the Telerik Stepper for Blazor +This article explains the events available in the Telerik Stepper for Blazor: + +* [OnChange](#onchange) +* [ValueChanged](#valuechanged) + +## OnChange + +The `OnChange` event fires before the current step has changed. The handler receives an object of type `StepperStepChangeEventArgs` which exposes the following fields: + +* `TargetIndex` - provides the index of the targeted new step. +* `IsCancelled` - specifies whether the event is canceled and the built-in action is prevented. + +>caption Handle the `OnChange` event of the first and second steps. The result from the snippet below. + + + + +````CSHTML +@* Handle the OnChange event of the steps *@ + +Next targeted step index: @TargetIndex + +