title: Check checkboxes are checked in ListView UWP
body: <p>I have a ListView, that contains 22 CheckBoxes. I should to check all of them, and if checkBox is checked it returns 1, otherwise 0.</p>
  
  <pre><code>                 &lt; ListView x: Name = "CheckBoxList" &gt;  
                     &lt; CheckBox x: Name = "nr1" /&gt;
                      ...    
                     &lt; CheckBox x: Name = "nr22" /&gt;
                    &lt;/ListView&gt;
  </code></pre>
  
  <p>And here I send thouse 1 or 0</p>
  
  <pre><code>            dynamic sendMessage = MyApi.Api.sendMessage( //for example 1, 0, 1, 1, 0, 0 etc.//);
  </code></pre>
  
  <p>How to make it automatically? Because all I know is how to check it manually (if - else for every control), but it isn't good solution.</p>