ProgressBar.Style Property


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

 property System::Windows::Forms::ProgressBarStyle Style { System::Windows::Forms::ProgressBarStyle get(); void set(System::Windows::Forms::ProgressBarStyle value); };
public System.Windows.Forms.ProgressBarStyle Style { get; set; }
member this.Style : System.Windows.Forms.ProgressBarStyle with get, set
Public Property Style As ProgressBarStyle

Property Value

One of the ProgressBarStyle values. The default is Blocks



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.

Applies to