ProgressView
The ProgressView control represents a progress bar that visually indicates progress within a range. It can be used to show the progress of tasks such as loading or processing data.
The ProgressView
inherits all the methods and properties from the base class View
.
Constructor:
constructor(parent: View)
Creates an instance of TabView control.parent
: the View containing the control itself.
Properties:
min: number
Defines the minimum value of the progress bar. Default is 0.max: number
Defines the maximum value of the progress bar. Default is 100.pos: number
Represents the current position or progress value within the range defined bymin
andmax
.step: number
Defines the step value that increments the progress position when stepIt() is called. Default is 1.orientation: ProgressViewOrientation
Specifies whether the progress bar is displayed horizontally or vertically. Possible values are:ProgressViewOrientation.Horizontal
ProgressViewOrientation.Vertical
Methods:
stepIt(): void
Advances the progress bar by the value specified in thestep
property.