InteractiveControl - SirePi/duality-ui GitHub Wiki

InteractiveControls are a step above normal Controls, in that they support user interaction, while Controls are usually only used for presentation.

In addition to the Control's base properties and events, it also exposes:

  • Event OnFocusChange(Control control, bool isFocused) - which is called when the Control gains or loses focus.
  • Method OnFocus - which is called when the Control gains focus.
  • Method OnBlur - which is called when the Control loses focus.
  • Method OnKeyboardKeyEvent
  • Method OnMouseButtonEvent