States in .NET MAUI Linear ProgressBar (SfLinearProgressBar)

21 Jul 20261 minute to read

Configure the states of the linear progress bar control depending on the usage.

Determinate

This is the default state. Use it when the progress estimation is known.

Indeterminate

By enabling the IsIndeterminate property, the state of the linear progress bar can be changed to indeterminate when the progress cannot be estimated or is not being calculated. It can be combined with the determinate mode to indicate that the application estimates progress before the actual progress starts.

<progressBar:SfLinearProgressBar IsIndeterminate="true"/>
using Syncfusion.Maui.ProgressBar;

SfLinearProgressBar linearProgressBar = new SfLinearProgressBar { IsIndeterminate = true };
this.Content = linearProgressBar;

.NET MAUI Linear ProgressBar indeterminate state

Buffer

The secondary task’s progress can be defined using the SecondaryProgress property as demonstrated in the following code sample.

<progressBar:SfLinearProgressBar Progress="25"
                                 SecondaryProgress="75"/>
using Syncfusion.Maui.ProgressBar;

SfLinearProgressBar linearProgressBar = new SfLinearProgressBar();
linearProgressBar.Progress = 25;
linearProgressBar.SecondaryProgress = 75;
this.Content = linearProgressBar;

.NET MAUI Linear ProgressBar with buffer

NOTE

Refer to our .NET MAUI Linear ProgressBar feature tour page for its groundbreaking feature representations. Also explore our .NET MAUI Linear ProgressBar example that shows how to configure a SfLinearProgressBar in .NET MAUI.