ScrollBarState Enum

Definition

Specifies the visual state of a scroll bar that is drawn with visual styles.

public enum ScrollBarState
Inheritance
ScrollBarState

Fields

Name Value Description
Normal 1

The scroll bar element is normal.

Hot 2

The scroll bar element is hot.

Pressed 3

The scroll bar element is pressed.

Disabled 4

The scroll bar element is disabled.

Remarks

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

The 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.

Applies to

Prodotto Versioni
.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