Toggle Method (SLToggleButton)

Action

Cycles through the toggle states of the button in this order: On, Off and, if supported, Indeterminate.

Syntax

toggleButton.Toggle()