title: How to update control inside ListBox item
body: <p>I have a <code>ListBox</code> defined as follows. I have <code>CheckBox</code> inside the <code>ListView</code> item which needs to be checked/unchecked programmatically (just wanted to implement a select/deselect all operation). What's the best way to achieve this?</p>
  
  <pre><code>&lt;ListBox Margin="0,0,10,0" Name="listViewChanges" SelectionMode="Multiple"&gt;
      &lt;ListBox.ItemTemplate&gt;
          &lt;DataTemplate&gt;
              &lt;StackPanel Orientation="Horizontal" VerticalAlignment="Center"&gt;
                  &lt;CheckBox x:Name="lblChangedSelected" IsChecked="{Binding Selected}" VerticalAlignment="Center" VerticalContentAlignment="Center" Margin="10,0,0,0"&gt;&lt;/CheckBox&gt;
                  &lt;Label x:Name="lblChangedStatus" Content="{Binding Status}" VerticalContentAlignment="Center"&gt;&lt;/Label&gt;
                  &lt;Label x:Name="lblChangedPath" Content="{Binding Path}" VerticalContentAlignment="Center"&gt;&lt;/Label&gt;
              &lt;/StackPanel&gt;
          &lt;/DataTemplate&gt;
      &lt;/ListBox.ItemTemplate&gt;
  &lt;/ListBox&gt;
  </code></pre>