ProgressBar.Style 屬性

定義

取得或設定進度條上進度應該如何顯示。

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; }
[<System.ComponentModel.Browsable(true)>]
member this.Style : System.Windows.Forms.ProgressBarStyle with get, set
Public Property Style As ProgressBarStyle

屬性值

這是其中一項 ProgressBarStyle 價值。 預設值為 Blocks

屬性

例外狀況

該數值並非列舉的成員 ProgressBarStyle

備註

你可以在需要顯示進度時使用招牌風格,但不必標示進度量。 只有啟用視覺風格時,才 Marquee 會尊重該樣式。 Continuous當視覺風格未啟用時,該樣式會被尊重。

適用於