I am using a ToggleButton in a WPF window:
ToggleButton
Try this
private void tBtn_super_Click(object sender, RoutedEventArgs e) { if (tBtn_super.IsChecked == true) { MessageBox.Show("True"); } else { MessageBox.Show("False"); } }