WPF: an indicator of progress with an indefinite duration?

In WinForms, you can set a progress bar for an infinite loop to indicate that you do not know how long it will take. How do I do this in WPF?

+6
progress-bar wpf wpf-controls
source share
3 answers
<ProgressBar IsIndeterminate="True" /> 
+15
source share

I personally like the approach of Visual Studio 2010. They use animation of a small alternating series of points (with different intensities). They simply enliven the dots circling in the center of the window in question.

In WPF, this is trivial - just animate the rotation of a small drawing of a circle of dots with a correctly set opacity set in front.

I find it very intuitive, small and non-intrusive.

+1
source share

Is the progress bar the correct widgets for this? You cannot specify% complete, because you "do not know how long it will take." Maybe some kind of animation (for example, the Windows effect of disappearing into thin air, as well as removal), to show that activity is still ongoing, would be better. But the progress bar, which simply resets to zero because there is even more work, just looks dumb for me.

0
source share

All Articles