Toggle Method (SLToggleButton)

Action

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

Syntax

C#
toggleButton.Toggle()
VB
toggleButton.Toggle()