TrackBarThumbState Enum

Definition

Specifies the visual state of a track bar slider (also known as a thumb) that is drawn with visual styles.

C#
public enum TrackBarThumbState
Inheritance
TrackBarThumbState

Fields

Name Value Description
Normal 1

The slider appears normal.

Hot 2

The slider appears hot.

Pressed 3

The slider appears pressed.

Disabled 5

The slider appears disabled.

Remarks

The TrackBarThumbState values correspond to the states of the VisualStyleElement objects exposed by the following classes:

The TrackBarThumbState values are also used as an argument in the System.Windows.Forms.TrackBarRenderer class methods that draw the track bar slider.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9