How do you make an indeterminate progress bar in a WinForms application? In Silverlight and WPF, you would simply set the ProgressBar's IsIndeterminate
property to true. However, this property does not exist in WinForms. How would you create an indeterminate progress bar in WinForms?
Asked
Active
Viewed 2.4k times
58

msbg
- 4,852
- 11
- 44
- 73
1 Answers
115
Set the Style
on the ProgressBar
to Marquee

Tom Studee
- 10,316
- 4
- 38
- 42
-
4HA would never have found it – Mishax Jun 15 '15 at 09:18
-
2This didn't work for me until I enabled visual styles (normally enabled by default): `System.Windows.Forms.Application.EnableVisualStyles();` at init – Eldritch Conundrum Oct 23 '20 at 12:44