Selects toggle-switch theme states and appends the On state to the initial state.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class ToggleSwitchButtonStateManager : ItemStateManager
Inheritance: objectItemStateManagerBaseItemStateManagerToggleSwitchButtonStateManager
Constructors
Initializes the manager with the visual-state tree created by the toggle-switch factory.
C#
public ToggleSwitchButtonStateManager(StateNodeBase rootState)
The root node of the visual-state tree to evaluate.
Methods
Selects Disabled.IsOn when an enabled On switch becomes disabled; other changes use the base state selection.
C#
public override void ItemStateChanged(RadObject senderItem, RadPropertyChangedEventArgs changeArgs)
The element whose state changed.
changeArgsRadPropertyChangedEventArgsThe property change that triggered the update.
Overrides:
Accepts Disabled.IsOn in addition to state names recognized by the base manager.