Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    WaitIndicatorAnimationType Enum

    Lists values that specify animation types that can be applied to the Wait Indicator component and the Loading Panel’s indicator.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    #Declaration

    C#
    public enum WaitIndicatorAnimationType

    #Members

    Name Description Image
    Spin

    The component applies the spin animation effect.

    Spin animation

    Pulse

    The component applies the pulse animation effect.

    Pulse animation

    Flip

    The component applies the flip animation effect.

    Flip animation

    #Related API Members

    The following properties accept/return WaitIndicatorAnimationType values:

    #Remarks

    The following code snippet applies the pulse animation effect to the Wait Indicator:

    Razor
    <DxButton Enabled="!isSending"
              Click="Send"
              RenderStyle="ButtonRenderStyle.Secondary">
        <div class="d-flex">
            <DxWaitIndicator Visible="isSending"
                             AnimationType="WaitIndicatorAnimationType.Pulse" />
            <span class="mx-2">@Message</span>
        </div>
    </DxButton>
    
    @code{
        bool isSending = false;
        string Message => isSending ? "Sending..." : "Send";
        private async Task Send() {
            isSending = true;
            await Task.Delay(3000);
            isSending = false;
        }
    }
    
    See Also