Sizing in .NET MAUI Busy Indicator (SfBusyIndicator)

21 May 20251 minute to read

The .NET MAUI Busy Indicator provides an option to customize the drawing size of the indicator using the SizeFactor property. This property sets the height and width of the indicator, with default values of 0.5, and allows a range from 0 to 1.

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

The following screenshot illustrates the result of the above code.

SizeFactor