Button - SirePi/duality-ui GitHub Wiki

A Button is, simply, a button. Derives from InteractiveControl.

In addition to the InteractiveControl's base properties and delegates, it also exposes:

  • Property Text - the string to be displayed inside the Button.
  • Property TextConfiguration - the Button's TextConfiguration object.
  • Event OnMouseButton(MouseButtonEventArgs args) - an event that gets fired whenever a Mouse button is pressed or released.