ProgressBar.Style ProgressBar.Style ProgressBar.Style ProgressBar.Style Property

定义

获取或设置在进度栏上指示进度应使用的方式。Gets or sets the manner in which progress should be indicated on the progress bar.

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

属性值

异常

注解

当你需要指示进度时, 可以使用字幕样式, 而不会指示进度量。You can use the marquee style when you need to indicate progress is being made, without indicating the quantity of progress. Marquee当启用视觉样式时, 样式才适用。The Marquee style is honored only when visual styles are enabled. 如果未启用视觉样式, 则会遵守样式。ContinuousThe Continuous style is honored when visual styles are not enabled.

适用于