Attribute used for displaying a button that toggles its state when clicked.
Method
Method with bool parameter
[ToggleButton] public void ToggleState(bool value) { isOn = !isOn; }