ScrollBarState Enum

Definition

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

public enum class ScrollBarState
public enum ScrollBarState
type ScrollBarState = 
Public Enum ScrollBarState
Inheritance
ScrollBarState

Fields

Disabled 4

The scroll bar element is disabled.

Hot 2

The scroll bar element is hot.

Normal 1

The scroll bar element is normal.

Pressed 3

The scroll bar element is pressed.

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