ProgressBar.Style Property


Gets or sets the manner in which progress should be indicated on the progress bar.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public ProgressBarStyle Style { get; set; }

Property Value

Type: System.Windows.Forms.ProgressBarStyle

One of the ProgressBarStyle values. The default is Blocks

Exception Condition

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
Return to top