ProgressBarStyle ProgressBarStyle ProgressBarStyle ProgressBarStyle Enum

定义

指定 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
继承
ProgressBarStyleProgressBarStyleProgressBarStyleProgressBarStyle

字段

Blocks Blocks Blocks Blocks 0

通过在 ProgressBar 中增加分段块的数量来指示进度。Indicates progress by increasing the number of segmented blocks in a ProgressBar.

Continuous Continuous Continuous Continuous 1

通过在 ProgressBar 中增加平滑连续的栏的大小来指示进度。Indicates progress by increasing the size of a smooth, continuous bar in a ProgressBar.

Marquee Marquee Marquee 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.

适用于

另请参阅