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.PeakSize Property

Specifies the width of the peak area in pixels.

#Declaration

Delphi
property PeakSize: TcxNaturalNumber read; write; default 2;

#Property Value

Type Default
TcxNaturalNumber 2

#Remarks

The progress bar enables you to display a peak area within it. This area identifies a critical value (progress can go further than this value). You need to set the ShowPeak property to True to display the peak area.

The position of this critical value is specified by the PeakValue property. The peak area is painted starting from this position. Its width is specified by the PeakSize property. The table below shows how this property affects the control’s appearance.

Value Example
2 A Two Pixel-Wide Peak Progress Bar Area
5 A Five Pixel-Wide Peak Progress Bar Area

The default value of the PeakSize property is 2.

See Also