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

A class that is responsible for the visual states of the task dialog buttons.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class TaskDialogButtonStateManagerFactory : ItemStateManagerFactory

Inheritance: objectItemStateManagerFactoryBaseItemStateManagerFactoryTaskDialogButtonStateManagerFactory

Constructors

Initializes a new instance of the TaskDialogButtonStateManagerFactory class.

C#
public TaskDialogButtonStateManagerFactory(RadProperty focusedProperty)
Parameters:focusedPropertyRadProperty

The focused property of the button.

Methods

Adds the focused, mouse-over-focused, and mouse-down-focused states to the default visible states.

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

The state manager receiving the default states.

Overrides: ItemStateManagerFactory.AddDefaultVisibleStates(ItemStateManager)

Creates the state node selected when the configured button-focused property is true.

C#
protected override StateNodeBase CreateSpecificStates()
Returns:

StateNodeBase

The state node that represents the focused button appearance.

Overrides: ItemStateManagerFactory.CreateSpecificStates()