The System.Windows.Forms.VisualStyles.ScrollBarState values correspond to the states of the System.Windows.Forms.VisualStyles.VisualStyleElement objects exposed by the following classes:
System.Windows.Forms.VisualStyles.VisualStyleElement.ScrollBar.LeftTrackHorizontal
System.Windows.Forms.VisualStyles.VisualStyleElement.ScrollBar.RightTrackHorizontal
System.Windows.Forms.VisualStyles.VisualStyleElement.ScrollBar.LowerTrackVertical
System.Windows.Forms.VisualStyles.VisualStyleElement.ScrollBar.UpperTrackVertical
System.Windows.Forms.VisualStyles.VisualStyleElement.ScrollBar.ThumbButtonHorizontal
System.Windows.Forms.VisualStyles.VisualStyleElement.ScrollBar.ThumbButtonVertical
The System.Windows.Forms.VisualStyles.ScrollBarState values are also used as an argument in the System.Windows.Forms.ScrollBarRenderer class methods that draw the scroll bar track, scroll box (also known as the thumb), and scroll box grip.
Member Name | Description |
---|---|
Disabled |
The scroll bar element is disabled. |
Hot |
The scroll bar element is hot. |
Normal |
The scroll bar element is normal. |
Pressed |
The scroll bar element is pressed. |