Back to Devexpress

TcxCustomProgressBarProperties.TextOrientation Property

vcl-cxprogressbar-dot-tcxcustomprogressbarproperties-c2ef005e.md

latest2.4 KB
Original Source

TcxCustomProgressBarProperties.TextOrientation Property

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

Declaration

delphi
property TextOrientation: TcxProgressBarOrientation read; write; default cxorHorizontal;

Property Value

TypeDefault
TcxProgressBarOrientationcxorHorizontal

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.

ValueSample
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

TcxCustomProgressBarProperties.ShowTextStyle

TcxCustomProgressBarProperties.SolidTextColor

TcxCustomProgressBarProperties Class

TcxCustomProgressBarProperties Members

cxProgressBar Unit