.NET Maui Indeterminite Progress Bar

Viewed 288

I am using .NET MAUI to build a cross platform desktop application.

I have a lengthy event for which I would like to show an indeterminate progress bar (like the one seen here) so the user can see that the operation is running without a known end.

I am familiar with the MAUI progressbar element and how to animate known progress as shown here.

await progressBar.ProgressTo(0.75, 500, Easing.Linear);

However, there doesn't seem to be a native way of growing and shrinking the bar without animating from 0-100 and back again. When animating in this manner, I have to fill the entire bar and animate back to 0. I am not able to animate between a range (25% - 50% for instance).

Is there a way to achieve an indeterminate progress bar in a MAUI app?

0 Answers
Related