alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ProgressButtonAnimationSettings

    Represents the animation settings for the SfProgressButton component.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    ProgressButtonAnimationSettings
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.SplitButtons
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ProgressButtonAnimationSettings : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
    Remarks

    This class allows for the customization of animation effects, including duration and easing, for the progress indicator within the SfProgressButton.

    Constructors

    ProgressButtonAnimationSettings()

    Declaration
    public ProgressButtonAnimationSettings()

    Properties

    Duration

    Gets or sets the duration of the animation in milliseconds.

    Declaration
    [Parameter]
    public double Duration { get; set; }
    Property Value
    Type Description
    double

    A double value that specifies the animation duration. The default value is 400.

    Remarks

    This property controls the time it takes for the animation effect to complete. A higher value will result in a slower animation.

    Easing

    Gets or sets the easing function for the animation, which defines the rate of change over time.

    Declaration
    [Parameter]
    public string Easing { get; set; }
    Property Value
    Type Description
    string

    A string representing the timing function for the animation. The default value is "ease".

    Remarks

    This property accepts standard CSS easing functions, such as "linear", "ease-in", "ease-out", and "ease-in-out", to control the animation's acceleration and deceleration.

    Effect

    Gets or sets the animation effect for the progress indicator.

    Declaration
    [Parameter]
    public AnimationEffect Effect { get; set; }
    Property Value
    Type Description
    AnimationEffect

    An AnimationEffect enum member that specifies the visual effect. The default value is None.

    Remarks

    This property defines the type of animation applied when the progress is displayed. For example, SlideLeft moves the content with a slide-left animation, while ZoomIn applies a zoom-in effect. Other options include SlideRight, SlideUp, SlideDown, and ZoomOut.

    Methods

    Dispose(bool)

    Releases the resources used by the component.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    A bool value indicating whether the component is in the process of being disposed.

    Overrides
    OwningComponentBase.Dispose(bool)

    OnInitializedAsync()

    Asynchronously initializes the component and updates the parent progress button with these settings.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    Task

    A Task representing the asynchronous operation.

    Overrides
    ComponentBase.OnInitializedAsync()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved