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

Builds the enabled, disabled, hover, pressed, and vertical-orientation states for scrollbar arrow buttons.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class ScrollButtonStateManagerFactory : ItemStateManagerFactory

Inheritance: objectItemStateManagerFactoryBaseItemStateManagerFactoryScrollButtonStateManagerFactory

Constructors

C#
public ScrollButtonStateManagerFactory()

Methods

Registers the button 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 button states from the disabled state.

C#
public override StateNodeBase CreateRootState()
Returns:

StateNodeBase

The root enabled-state node.

Overrides: ItemStateManagerFactory.CreateRootState()

Builds pointer-interaction states and the explicit vertical-scrollbar state branch.

C#
protected override StateNodeBase CreateSpecificStates()
Returns:

StateNodeBase

The state subtree used when the button is enabled.

Overrides: ItemStateManagerFactory.CreateSpecificStates()