TrackBar Control

The TrackBar control is used for visually adjusting numeric settings.

Client support

Newlook Smartclient

Newlook Server

Use

The TrackBar control has two parts: the thumb, also known as a slider, and the tick marks. The thumb is the part that can be adjusted by the user. Its position corresponds to the Value property. The tick marks are visual indicators that are spaced at regular intervals. The trackbar moves in increments that you specify and can be aligned horizontally or vertically.

For example, if you wanted your TrackBar to offer the units 0 to 5 then you would set the Min property to '0' and the Max property to '5'. The Value property dictates the default slider position when the control is created. The TickFrequency property dictates the frequency of tick marks relative to the measurement units. If you only wanted to display a tick mark for every second unit then you would set the TickFrequency property to 2.

Material skin considerations

When the material skin is enabled in your solution, track bars will be rendered with material styling. The most noticeable difference is the control is rendered flat, in the material primary color. Apart from the TickStyle Property, which is partially supported, there is no change to the behavior of this control or any other supported properties.

Material skin

Classic skin

See Also

Objects and Controls


© 2004-2021 looksoftware. All rights reserved.