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

Specifies the width of the track bar in pixels.

#Declaration

Delphi
property TrackSize: Integer read; write; default dxTrackBarDefaultTrackSize;

#Property Value

Type Default
Integer dxTrackBarDefaultTrackSize

#Remarks

Use the TrackSize property to change the width of the track bar. If the AutoSize property is set to True, the track bar’s thumb will be automatically resized when changing the track bar’s size. Otherwise, you can set the thumb’s dimensions manually using the ThumbHeight and ThumbWidth properties.

The table below shows how changing the TrackSize property value affect the control’s appearance.

Value

Example

(horizontal orientation)

Example

(vertical orientation)

10

4

Note

You need to use the Orientation property to change the orientation of the track bar.

The default value of the TrackSize property is 10.

See Also