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

Builds the theme-state tree for the application-menu button's enabled, popup, mouse, focus, and backstage states.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class ApplicationMenuButtonStateManagerFactory : ItemStateManagerFactory

Inheritance: objectItemStateManagerFactoryBaseItemStateManagerFactoryApplicationMenuButtonStateManagerFactory

Constructors

C#
public ApplicationMenuButtonStateManagerFactory()

Methods

Registers the action-part, arrow-part, pressed, and open-popup states as visible theme states.

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

Overrides: ItemStateManagerFactory.AddDefaultVisibleStates(ItemStateManager)

Creates the root enabled-state tree and connects it to the backstage, open-popup, and button-interaction states.

C#
public override StateNodeBase CreateRootState()
Returns:

StateNodeBase

Overrides: ItemStateManagerFactory.CreateRootState()

Creates the pressed, focused, mouse-over, action-part, and arrow-part branches used while the popup is closed.

C#
protected override StateNodeBase CreateSpecificStates()
Returns:

StateNodeBase

Overrides: ItemStateManagerFactory.CreateSpecificStates()