Skip to main content

TcxCustomProgressBarProperties.TextOrientation Property

Specifies the orientation of the text label within the progress bar.

Declaration

property TextOrientation: TcxProgressBarOrientation read; write; default cxorHorizontal;

Property Value

Type Default
TcxProgressBarOrientation cxorHorizontal

Remarks

If the ShowText property is set to True, the progress bar control displays a text label to show the following information:

The orientation of the displayed text is set by the TextOrientation property. Note that the orientation of the progress bar can also be changed using the Orientation property. You will probably want to change these properties together to fit the text into the control’s area.

The table below shows examples of changing the TextOrientation and Orientation properties together.

Value Sample
cxorHorizontal
cxorVertical

Note

Use the dxUseAntialiasingForRotatedText global constant to control if the ClearType antialiasing is applied to a rotated text in your application.

The default value of the TextOrientation property is cxorHorizontal.

See Also