Builds the visual-state tree used by RadButtonItem instances, defining the enabled/disabled, mouse-over, mouse-down, pressed, and default-button states.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class ButtonItemStateManagerFactory : ItemStateManagerFactory
Inheritance: objectItemStateManagerFactoryBaseItemStateManagerFactoryButtonItemStateManagerFactory
Derived Classes:
Constructors
public ButtonItemStateManagerFactory()
Methods
Registers the states that should be visible by default: mouse-over, mouse-down, pressed, default-button, and disabled.
protected override void AddDefaultVisibleStates(ItemStateManager sm)
The ItemStateManager to configure.
Overrides:
Creates the root state node, branching into the enabled state hierarchy or a disabled placeholder based on the element's EnabledProperty.
public override StateNodeBase CreateRootState()
StateNodeBase
The root StateNodeBase of the state tree.
Overrides:
Creates the composite state node containing the mouse-over, mouse-down, pressed, and default-button states.
protected override StateNodeBase CreateSpecificStates()
StateNodeBase
A StateNodeBase composed of the button-specific states.
Overrides: