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

A class that is responsible for the visual states of the toolbar items.

Definition

Namespace:Telerik.WinControls.UI.AIPrompt

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class AIPromptToolbarItemStateManagerFactory : ItemStateManagerFactory

Inheritance: objectItemStateManagerFactoryBaseItemStateManagerFactoryAIPromptToolbarItemStateManagerFactory

Constructors

Initializes a new instance of the AIPromptToolbarItemStateManagerFactory class.

C#
public AIPromptToolbarItemStateManagerFactory(RadProperty isActiveProperty)
Parameters:isActivePropertyRadProperty

The IsActive property of the toolbar item.

Methods

Adds the IsActive state to the manager's default visible states.

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

The state manager receiving the default-visible state.

Overrides: ItemStateManagerFactory.AddDefaultVisibleStates(ItemStateManager)

Creates the state node that becomes active when the property supplied to the constructor is true.

C#
protected override StateNodeBase CreateSpecificStates()
Returns:

StateNodeBase

The conditional IsActive state node.

Overrides: ItemStateManagerFactory.CreateSpecificStates()