New to Telerik UI for WinForms? Start a free 30-day trial

Builds the enabled, disabled, hover, pressed, orientation, and right-to-left states for a scrollbar thumb.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class ScrollBarThumbStateManager : ItemStateManagerFactory

Inheritance: objectItemStateManagerFactoryBaseItemStateManagerFactoryScrollBarThumbStateManager

Constructors

C#
public ScrollBarThumbStateManager()

Methods

Registers the thumb states that themes can address by their state names.

C#
protected override void AddDefaultVisibleStates(ItemStateManager res)
Parameters:resItemStateManager

The state manager receiving the default visible-state names.

Overrides: ItemStateManagerFactory.AddDefaultVisibleStates(ItemStateManager)

Creates the state tree that separates enabled thumb states from the disabled state.

C#
public override StateNodeBase CreateRootState()
Returns:

StateNodeBase

The root enabled-state node.

Overrides: ItemStateManagerFactory.CreateRootState()

Builds pointer-interaction, orientation, and right-to-left state branches for an enabled thumb.

C#
protected override StateNodeBase CreateSpecificStates()
Returns:

StateNodeBase

The state subtree used when the thumb is enabled.

Overrides: ItemStateManagerFactory.CreateSpecificStates()