Maps a RadCheckmark's check state and enabled state to theme visual states.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadCheckmarkStateManager : ItemStateManagerBase
Inheritance: objectItemStateManagerBaseRadCheckmarkStateManager
Constructors
Registers theme states for enabled and disabled checkmarks in the On and Indeterminate states.
public RadCheckmarkStateManager()
Methods
Subscribes to the check-state and enabled properties so theme state can track changes to the element.
protected override void AttachToItemOverride(StateManagerAttachmentData attachData, RadObject item)
The attachment data used to register property-change handlers.
itemRadObjectThe element to which the state manager is being attached.
Overrides:
Returns the visual-state names supported by the checkmark role.
public override StateDescriptionNode GetAvailableStates(string itemRoleName)
The theme role for which to create the state description.
Returns:StateDescriptionNode
A state tree containing enabled, disabled, On, and Indeterminate combinations.
Overrides:
Selects the theme state that matches the checkmark's enabled and check-state values.
public override void ItemStateChanged(RadObject item, RadPropertyChangedEventArgs changeArgs)
The checkmark whose state changed.
changeArgsRadPropertyChangedEventArgsThe property change that triggered the state update.
Overrides:
Accepts disabled On and Indeterminate state names in addition to states recognized by the base manager.