Adds the On visual state to the toggle switch's normal and disabled theme states.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class ToggleSwitchElementStateManager : ItemStateManagerFactory
Inheritance: objectItemStateManagerFactoryBaseItemStateManagerFactoryToggleSwitchElementStateManager
Constructors
C#
public ToggleSwitchElementStateManager()
Methods
Registers On and Disabled.On as visible states alongside the base pointer and disabled states.
C#
protected override void AddDefaultVisibleStates(ItemStateManager sm)
The state manager receiving the visible state names.
Overrides:
Adds a state condition driven by the toggle switch's IsOnProperty.
C#
protected override StateNodeBase CreateSpecificStates()
StateNodeBase
The subtree containing the On state.
Overrides:
Creates the state manager that adds the switch's On state to the base element states.
C#
protected override ItemStateManager CreateStateManagerCore()
ItemStateManager
The manager configured with this factory's root state.
Overrides: