vcl-cxprogressbar-dot-tcxcustomprogressbarproperties-d73dfb59.md
Specifies whether the progress bar’s text label displays the current position or the percentage of completion.
property ShowTextStyle: TcxProgressBarTextStyle read; write;
| Type |
|---|
| TcxProgressBarTextStyle |
Values include:
|
Value
|
Meaning
|
Samples
| | --- | --- | --- | |
cxtsPercent
|
The progress bar’s text label displays completion percentage. If Position equals Min, the label will display ‘ 0% ‘. If it equals Max, the label will display ‘ 100% ‘.
|
| |
cxtsPosition
|
The progress bar’s text label displays the current Position property value.
|
| |
cxtsText
|
The progress bar’s label displays the text specified by the Text property.
Note
In marquee mode, only the cxtsText option is available.
|
|
Use the ShowText property to toggle the visibility of the progress bar’s text label.
Note
The ShowTextStyle property applies to the text label if the Marquee property is set to False.
The default value of the ShowTextStyle property is pbtsPercent.
See Also
TcxCustomProgressBarProperties.SolidTextColor
TcxCustomProgressBarProperties.TextOrientation
TcxCustomProgressBarProperties Class