ProgressBarStyle Enumeration

 

Specifies the style that a ProgressBar uses to indicate the progress of an operation.

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

public enum ProgressBarStyle

Member nameDescription
Blocks

Indicates progress by increasing the number of segmented blocks in a ProgressBar.

Continuous

Indicates progress by increasing the size of a smooth, continuous bar in a ProgressBar.

Marquee

Indicates progress by continuously scrolling a block across a ProgressBar in a marquee fashion.

You can use the marquee style when you need to indicate progress is being made, but you cannot indicate the quantity of progress. The Marquee style is valid only when visual styles are enabled. The Continuous style is valid only when visual styles are not enabled.

WinXpFamily

The Marquee style is supported only on these platforms.

.NET Framework
Available since 2.0
Return to top
Show: