Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Moving progress bar not to show percentage in c# wpf

I am currently developing a C# application using WPF. This is going to be difficult to explain but I'll give it a go.

What I want to be able to do is to have a progress bar. The progress bar is not going to show a percentage of the progress completed instead it is just supposed to keep moving the bar from left to right in a loop, like what windows does when it is calculating how long it is going to take when transferring a large sized file before it actually does the copy.

How can I do this instead of showing a normal progress bar.

Thanks for your help with this.

like image 379
Boardy Avatar asked Dec 17 '22 18:12

Boardy


1 Answers

ProgressBar.IsIndeterminate

ProgressBar p = new ProgressBar();
p.IsIndeterminate = true;
like image 155
Aaron McIver Avatar answered Dec 27 '22 11:12

Aaron McIver