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

TcxCustomTrackBarProperties.SelectionColor Property

Specifies the color of the selection bar.

#Declaration

Delphi
property SelectionColor: TColor read; write; default clHighlight;

#Property Value

Type Default
TColor clHighlight

#Remarks

Track bar editors enable you to display a selection bar within the track bar (or track for short). The portion of the track occupied by the selection bar is specified by:

Use the SelectionColor property to specify the color of the selection bar. The image below shows the appearance of the track bar when this property is set to clNavy and clMoneyGreen.

The track can be hidden by setting the ShowTrack property to False, which will also hide the selection bar. In range track bar editors, you can switch the visibility of the selection bar using the editor’s Properties.ShowSelection property.

The default value of the SelectionColor property is clHighlight.

See Also