Class ProgressButtonEvents
Used to configure the progress button events.
Inheritance
System.Object
ProgressButtonEvents
Namespace: Syncfusion.Blazor.SplitButtons
Assembly: Syncfusion.Blazor.dll
Syntax
public class ProgressButtonEvents : ComponentBase
Constructors
ProgressButtonEvents()
Declaration
public ProgressButtonEvents()
Properties
Created
Gets or sets an event callback that is raised when the SfButton
rendering is completed.
Declaration
public EventCallback<object> Created { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> | An event callback function. |
Examples
<SfProgressButton>
<ProgressButtonEvents Created="@Created"></ProgressButtonEvents>
</SfProgressButton >
@code {
private void Created() {
// Write your code here.
}
}
OnBegin
Gets or sets an event callback that is raised when the progress is started in the SfProgressButton.
Declaration
public EventCallback<ProgressEventArgs> OnBegin { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<ProgressEventArgs> | An event callback function. |
OnEnd
Gets or sets an event callback that is raised when the progress is completed in the SfProgressButton.
Declaration
public EventCallback<ProgressEventArgs> OnEnd { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<ProgressEventArgs> | An event callback function. |
OnFailure
Gets or sets an event callback that is raised when the progress is uncompleted in the SfProgressButton.
Declaration
public EventCallback<Exception> OnFailure { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<System.Exception> | An event callback function. |
Progressing
Gets or sets an event callback in a specific interval that is raised when the SfProgressButton is progressing.
Declaration
public EventCallback<ProgressEventArgs> Progressing { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<ProgressEventArgs> | An event callback function. |
Methods
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
---|
System.Threading.Tasks.Task |