Search results

Stop Progress Indicator in Blazor ProgressButton component

You can stop the progress indicator using ProgressComplete method. In the following sample, the progress indicator is stopped by clicking the Stop button.

@using Syncfusion.Blazor.SplitButtons
@using Syncfusion.Blazor.Buttons

<SfProgressButton Content="Spin Left" IsPrimary="true" @ref="ProgressBtnObj"></SfProgressButton>
<SfButton Onclick="clicked">Stop</SfButton>

@code {
    SfProgressButton ProgressBtnObj;
    private void clicked(){

Output be like

Progress Button Sample