Skip to main content

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.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

[DXCategory("Behavior")]
[Browsable(false)]
public ScrollBarState State { get; protected set; }

Property Value

Type Description
DevExpress.XtraEditors.ViewInfo.ScrollBarState

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

Remarks

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