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

A class that is responsible for the visual states of the RadSmartPasteButtonElement. Adds a "Processing" state when IsProcessingProperty is true. Also adds an IsDefault state when IsDefaultProperty is true.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class SmartPasteButtonStateManagerFactory : ItemStateManagerFactory

Inheritance: objectItemStateManagerFactoryBaseItemStateManagerFactorySmartPasteButtonStateManagerFactory

Constructors

C#
public SmartPasteButtonStateManagerFactory()

Methods

Adds the processing and default states to the state manager's default-visible states.

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

The state manager that receives the states.

Overrides: ItemStateManagerFactory.AddDefaultVisibleStates(ItemStateManager)

Creates states for the button's processing and default visual modes.

C#
protected override StateNodeBase CreateSpecificStates()
Returns:

StateNodeBase

A composite state node containing conditions for Processing and IsDefault.

Overrides: ItemStateManagerFactory.CreateSpecificStates()