A newer version of this page is available. Switch to the current version.

ScrollBarBase.State Property

Gets whether the scroll bar is in normal state, or the increase/decrease/thumb button/area is pressed/hot-tracked.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v19.2.dll


public ScrollBarState State { get; protected set; }

Property Value

Type Description

A DevExpress.XtraEditors.ViewInfo.ScrollBarState enumeration value that specifies the scroll bar state.


The State property allows you to get the current state of the scroll bar. The DevExpress.XtraEditors.ViewInfo.ScrollBarState enumeration provides the following values:

  • Normal—the scroll bar is in normal state,
  • IncButtonPressed—the increase button is pressed,
  • DecButtonPressed—the decrease button is pressed,
  • ThumbPressed—the thumb is pressed,
  • IncAreaPressed—the increase area is pressed,
  • DecAreaPressed—the decrease area is pressed,
  • IncButtonHot—the increase button is hot-tracked (hovered over with the mouse pointer),
  • DecButtonHot—the decrease button is hot-tracked,
  • ThumbHot—the thumb is hot-tracked.
See Also