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

Specifies the size of ticks in pixels.

#Declaration

Delphi
property TickSize: TcxNaturalNumber read; write; default 3;

#Property Value

Type Default
TcxNaturalNumber 3

#Remarks

This property is in effect when the TickType property is set to display ticks (lines) within tick marks. Use the TickSize property to change the length of ticks. This property sets the length of all ticks except for the first and last and these are 1.5 times the size of the others.

The table below shows the same control with different TickSize property values.

Value Meaning Example
1 All ticks are represented by points.
4 Middle ticks are 4 pixels long, while the first and the last ticks are 6 pixels long.
8 Middle ticks are 8 pixels long, while the first and last ticks are 12 pixels long.

You can customize the color of ticks using the TickColor property.

The default value of the TickSize property is 4.

See Also