A delegate: the handler type of an event.
Signature: void Toggled(BaseElement sender, bool isToggledOn)
| Parameter | Type | Description |
|---|---|---|
sender |
BaseElement |
The element that raised the event. |
isToggledOn |
bool |
Whether the button is on now. |
Handles Button.OnToggled.