Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomProgressBarProperties.Orientation Property

Specifies the orientation of the progress bar within the control.

#Declaration

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

#Property Value

Type Default
TcxProgressBarOrientation cxorHorizontal

#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:

Value Meaning Samples
cxorHorizontal The progress bar fills the control from left to right.
cxorVertical The 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