Toggle Button

The Toggle Button control differs from Button or Repeat Button controls in that it toggles on and off.

It has an IsChecked property, which makes the button appear pressed and held down, and an IsThreeState property, which determines whether the control supports two or three states. If a toggle button is configured to have three states, it allows the operator to choose a third, indeterminate state. For example, you could use a three-state toggle button to indicate Yes, No, or Not Applicable.

See Common Controls to view the usage and description of the properties for this control.