title: Checkboxes binding - what is better solution?
body: <p>I have more than 20 checkboxes in my wpf form. I need store <code>IsChecked</code> values from all of them in some object.</p>
  
  <p>I know two ways.</p>
  
  <p>1) bind all checkboxes to corresponding properties in object using dependency property like <a href="https://stackoverflow.com/questions/870163/wpf-simple-checkbox-binding-question">here</a></p>
  
  <p>2) handle <code>Clicked</code> event of all of them</p>
  
  <p>Which solution is better? Is there a better solution taking up less space in code-behind?</p>