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

A class that is responsible for the visual states of the task expander elements.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class TaskDialogExpanderStateManagerFactory : ItemStateManagerFactory

Inheritance: objectItemStateManagerFactoryBaseItemStateManagerFactoryTaskDialogExpanderStateManagerFactory

Constructors

Initializes a new instance of the TaskDialogExpanderStateManagerFactory class.

C#
public TaskDialogExpanderStateManagerFactory(RadProperty isExpandedProperty)
Parameters:isExpandedPropertyRadProperty

The expanded property of the expander element.

Methods

Adds the expanded visual state to the state manager's default visible states.

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

The state manager receiving the default state.

Overrides: ItemStateManagerFactory.AddDefaultVisibleStates(ItemStateManager)

Creates the visual state selected when the configured expanded property is true.

C#
protected override StateNodeBase CreateSpecificStates()
Returns:

StateNodeBase

The state node that represents the expanded appearance.

Overrides: ItemStateManagerFactory.CreateSpecificStates()