xtd 0.2.0
Loading...
Searching...
No Matches

◆ tick_frequency() [2/2]

virtual track_bar & xtd::forms::track_bar::tick_frequency ( int32  tick_frequency)
virtual

Sets a value that specifies the delta between ticks drawn on the control.

Parameters
tick_frequencyThe numeric value representing the delta between ticks. The default is 1.
Returns
Current track_bar instance.
Remarks
For a track_bar with a large range of values between the minimum and the maximum properties, it might be impractical to draw all the ticks for values on the control. For example, if you have a control with a range of 100, passing in a value of 5 here causes the control to draw 20 ticks. In this case, each tick represents five units in the range of values.