ProgressBar::Style Property
.NET Framework (current version)
Gets or sets the manner in which progress should be indicated on the progress bar.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: [BrowsableAttribute(true)] property ProgressBarStyle Style { ProgressBarStyle get(); void set(ProgressBarStyle value); }
Property Value
Type: System.Windows.Forms::ProgressBarStyleOne of the ProgressBarStyle values. The default is Blocks
| Exception | Condition |
|---|---|
| InvalidEnumArgumentException | The value is not a member of the ProgressBarStyle enumeration. |
You can use the marquee style when you need to indicate progress is being made, without indicating the quantity of progress. The Marquee style is honored only when visual styles are enabled. The Continuous style is honored when visual styles are not enabled.
The Marquee style is supported only on these platforms.
.NET Framework
Available since 2.0
Available since 2.0
Show: