Boardy
Boardy

Reputation: 36205

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.

Upvotes: 4

Views: 3024

Answers (1)

Aaron McIver
Aaron McIver

Reputation: 24713

ProgressBar.IsIndeterminate

ProgressBar p = new ProgressBar();
p.IsIndeterminate = true;

Upvotes: 12

Related Questions