Back to Devexpress

TcxCustomProgressBarProperties.Orientation Property

vcl-cxprogressbar-dot-tcxcustomprogressbarproperties.md

latest1.9 KB
Original Source

TcxCustomProgressBarProperties.Orientation Property

Specifies the orientation of the progress bar within the control.

Declaration

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

Property Value

TypeDefault
TcxProgressBarOrientationcxorHorizontal

Remarks

Use the Orientation property to specify whether the progress bar fills the control from right to left or from bottom to top. The table below lists values available for this property:

ValueMeaningSamples
cxorHorizontalThe progress bar fills the control from left to right.
cxorVerticalThe progress bar fills the control from bottom to top.

Note that you need to set the AutoSize property of the TcxProgressBar control to False to resize it vertically.

If the ShowText property is set to True , the progress bar displays text indicating the current progress bar position. You can change the orientation of this text using the TextOrientation property. You will most likely want to have the same orientation as for the progress bar itself, otherwise the text may not fit into the control’s client area.

The default value of the Orientation property is pborHorizontal.

See Also

TcxCustomProgressBarProperties Class

TcxCustomProgressBarProperties Members

cxProgressBar Unit