title: Check if All CheckBoxes Are Unchecked C# WPF
body: <p>I would like to perform a task if all CheckBoxes in a StackPanel are unchecked. Currently I am doing something like this;</p>
  
  <pre><code>foreach (CheckBox c in _employees.Children)
  {
      if (c.IsChecked == false)
      {
          // do something
      }
  }
  </code></pre>
  
  <p>However of course this says that do something every time it comes across a <code>CheckBox</code> that is false. Is there a way I can say do something only if ALL the <code>CheckBoxes</code> are not checked, instead of evaluating them all individually?</p>