The TcxProgressBar
component represents a line indicator that is used to show the progress state of any operation.
The current position of the progress bar is specified by the Position
property. The Properties.Min
and Properties.Max
properties let you specify a range of values that the progress bar can display. To adjust the progress bar's appearance, use the Properties.BarStyle
, Properties.BeginColor
and Properties.EndColor
properties.
The component has two special features: Overload Bar and Peak Mark.
Overload Bar is a bar area that can have separate color settings. It is drawn on the main progress bar area from the position specified by the Properties.OverloadValue
property. With the overload bar you can have two progress bars on a single component. For example you can use the overload bar to make the progress bar more colorful (up to 4 colors in the gradient fill) or to indicate a progress of the operation that consists of a pair of consecutive processes. See Properties.ShowOverload
, Properties.OverloadValue
, Properties.OverloadBeginColor
and Properties.OverloadEndColor
for details.
Peak Mark is a mark that indicates a position value that is important for the represented operation. For instance, this can be a peak level, a critical point or a recommended value. See Properties.ShowPeak
, Properties.PeakValue
, Properties.PeakColor
and Properties.PeakSize
for details.
The TcxProgressBar
component also raises a number of events that you can process in your scripts.