Define the Range in .NET MAUI Linear ProgressBar (SfLinearProgressBar)
21 Jul 20261 minute to read
The Range represents the entire span of the linear progress bar and can be defined using the Minimum and Maximum properties. By default, the range is from 0 to 100.
The following code sample demonstrates how to customize the range as factor value to the linear progress bar.
<progressBar:SfLinearProgressBar Minimum="0"
Progress="0.5"
Maximum="1"/>using Syncfusion.Maui.ProgressBar;
SfLinearProgressBar linearProgressBar = new SfLinearProgressBar();
linearProgressBar.Minimum = 0;
linearProgressBar.Maximum = 1;
linearProgressBar.Progress = 0.5;
this.Content = linearProgressBar;
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.