Method OverrideButtonType
OverrideButtonType(Type, Action)
Overrides button type used when items are created and calls the specified action. After action is called an override is cleared.
public virtual void OverrideButtonType(Type type, Action action)
Parameters
Exceptions
- ArgumentException
Thrown when
typeis not derived from SpeedButton.