Make Busy Animation Idle in .NET MAUI Busy Indicator (SfBusyIndicator)

23 Jul 20261 minute to read

The .NET MAUI Busy Indicator lets you control whether the animation is running. Setting the IsRunning property to false stops the animation and hides the indicator.

Prerequisites

Before using the SfBusyIndicator, ensure the following NuGet package is installed in your .NET MAUI project:

  • Syncfusion.Maui.Core

For a step-by-step setup, refer to the Getting Started documentation.

Stop the animation (idle)

Use IsRunning="False" to stop the animation and hide the indicator.

<core:SfBusyIndicator x:Name="busyindicator"
                      AnimationType="CircularMaterial"
                      IsRunning="False" />
SfBusyIndicator busyIndicator = new SfBusyIndicator()
{
    AnimationType = AnimationType.CircularMaterial,
    IsRunning = false,
};

NOTE

The default value for the IsRunning property is false.

Start the animation (running)

Set IsRunning="True" to display the indicator and start the animation.

<core:SfBusyIndicator x:Name="busyindicator"
                      AnimationType="CircularMaterial"
                      IsRunning="True" />
SfBusyIndicator busyIndicator = new SfBusyIndicator()
{
    AnimationType = AnimationType.CircularMaterial,
    IsRunning = true,
};

See Also