title: Uncheck not working on checkbox
body: <p>I have a checkbox that should act when it is checked and when it is clicked to uncheck. When it is checked, it should enable/make sure that other checkboxes are checked, and when it is unchecked, the other checkboxes should uncheck.
  It works fine when it is checked. But when it is unchecked, nothing happens. So I am missing something like an "onChange" property.</p>
  
  <p>What could be the problem in my code</p>
  
  <pre><code>&lt;CheckBox Content="Check all" Grid.Column="1" Grid.Row="1" Margin="200 7 0 0" Name="IsCheckedCheckAll" Checked="IsCheckedCheckAll_Checked"/&gt;
  
  if (IsCheckedCheckAll.IsChecked == true)
          {
              if (IsCheckedCheckAll.Content.Equals("Check all"))
              {
                  IsCheckedCheckAll.Content = "Uncheck all";
  
                  Exc1.IsChecked = true;
                  Exc2.IsChecked = true;
                  Exc3.IsChecked = true;
                  Exc4.IsChecked = true;
                  Exc5.IsChecked = true;
              }
          }
          else
          {
              if (IsCheckedCheckAll.IsChecked == false)
              {
                  IsCheckedCheckAll.Content = "Check all";
  
                  Exc1.IsChecked = false;
                  Exc2.IsChecked = false;
                  Exc3.IsChecked = false;
                  Exc4.IsChecked = false;
                  Exc5.IsChecked = false;
              }
          }
  </code></pre>