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

Builds the drop-down button's enabled, open, pressed, focused, and part-specific hover theme states.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class DropDownButtonStateManagerFatory : ItemStateManagerFactory

Inheritance: objectItemStateManagerFactoryBaseItemStateManagerFactoryDropDownButtonStateManagerFatory

Constructors

C#
public DropDownButtonStateManagerFatory()

Methods

Registers the part-specific hover, pressed, and drop-down-open states as visible theme states.

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

The state manager receiving the visible state names.

Overrides: ItemStateManagerFactory.AddDefaultVisibleStates(ItemStateManager)

Creates the root state tree, separating disabled, open, and enabled closed-button states.

C#
public override StateNodeBase CreateRootState()
Returns:

StateNodeBase

The state tree evaluated for a drop-down button element.

Overrides: ItemStateManagerFactory.CreateRootState()

Builds the closed-button states for pressed, focused, overall hover, and the hovered action or arrow part.

C#
protected override StateNodeBase CreateSpecificStates()
Returns:

StateNodeBase

The state subtree used when the button is enabled and its drop-down is closed.

Overrides: ItemStateManagerFactory.CreateSpecificStates()