Selects toggle-button theme states from the element's enabled and toggle-state values.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class ToggleButtonStateManager : ItemStateManager
Inheritance: objectItemStateManagerBaseItemStateManagerToggleButtonStateManager
Constructors
Initializes the manager with the state tree created by a ToggleButtonStateManagerFactory.
C#
public ToggleButtonStateManager(StateNodeBase rootState)
The root node of the visual-state tree to evaluate.
Methods
Updates the active visual state when an element's properties change, including disabled states for toggle, check, and radio buttons.
C#
public override void ItemStateChanged(RadObject senderItem, RadPropertyChangedEventArgs changeArgs)
The element whose state changed.
changeArgsRadPropertyChangedEventArgsThe property change that triggered the update, or null for a general state refresh.
Overrides:
Accepts disabled On and Intermediate state names in addition to states recognized by the base manager.