System.Windows.Forms.VisualStyles.ScrollBarState Enumeration

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

Syntax

public enum ScrollBarState

Remarks

The System.Windows.Forms.VisualStyles.ScrollBarState values correspond to the states of the System.Windows.Forms.VisualStyles.VisualStyleElement objects exposed by the following classes:

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.

Members

Member NameDescription
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.

Requirements

Namespace: System.Windows.Forms.VisualStyles
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0