TcxCustomTrackBarProperties.TickSize Property
Specifies the size of ticks in pixels.
Declaration
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