ProgressBarStyle Enumeration

Note: This enumeration is new in the .NET Framework version 2.0.

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

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

public enum ProgressBarStyle
public enum ProgressBarStyle
public enum ProgressBarStyle

 Member nameDescription
BlocksIndicates progress by increasing the number of segmented blocks in a ProgressBar
ContinuousIndicates progress by increasing the size of a smooth, continuous bar in a ProgressBar
MarqueeIndicates 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.

Windows XP Home Edition, Windows XP Professional x64 Edition, Windows Server 2003 Platform Note: The Marquee style is supported only on these platforms.

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions