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

Creates the visual states used to style menu items when selected and while their child popup is open.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class RadMenuItemBaseStateManagerFactory : ItemStateManagerFactory

Inheritance: objectItemStateManagerFactoryBaseItemStateManagerFactoryRadMenuItemBaseStateManagerFactory

Constructors

C#
public RadMenuItemBaseStateManagerFactory()

Methods

Adds default visible states for selection and an open child popup after the base states are registered.

C#
protected override void AddDefaultVisibleStates(ItemStateManager sm)
Parameters:smItemStateManager

The state manager that receives the default visible states.

Overrides: ItemStateManagerFactory.AddDefaultVisibleStates(ItemStateManager)

Builds the composite states conditioned on the menu item's selected and popup-shown properties.

C#
protected override StateNodeBase CreateSpecificStates()
Returns:

StateNodeBase

The menu item's Selected state containing the popup-shown child state.

Overrides: ItemStateManagerFactory.CreateSpecificStates()