Skip to main content

TcxCustomProgressBarProperties.PeakSize Property

Specifies the width of the peak area in pixels.

Declaration

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