ProgressBarStyle 列舉

定義

指定 ProgressBar 用來表示作業進度的樣式。Specifies the style that a ProgressBar uses to indicate the progress of an operation.

public enum class ProgressBarStyle
public enum ProgressBarStyle
type ProgressBarStyle = 
Public Enum ProgressBarStyle
繼承
ProgressBarStyle

欄位

Blocks 0

增加 ProgressBar 中的分段區塊數,以表示進度。Indicates progress by increasing the number of segmented blocks in a ProgressBar.

Continuous 1

增加 ProgressBar 中的平滑連續列大小,以表示進度。Indicates progress by increasing the size of a smooth, continuous bar in a ProgressBar.

Marquee 2

以跑馬燈形式在 ProgressBar 中連續捲動區塊,以表示進度。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.

適用於

另請參閱