title: Firing an event when checkbox is checked for WPF
body: <p>What will be the correct way to get what are currently being checked in the <code>CheckBox</code>. What i have done so far will not firing any event on <code>CheckBox</code> items checked:</p>
  
  <pre><code>&lt;ListBox Grid.RowSpan="3" Grid.Column="2" Grid.ColumnSpan="5" Margin="2" ItemsSource="{Binding MachinePositionList}"&gt;
      &lt;ListBox.ItemTemplate&gt;
          &lt;HierarchicalDataTemplate&gt;
              &lt;CheckBox Content="{Binding posID}" IsChecked="{Binding IsChecked, Mode=TwoWay}"&gt;
                  &lt;i:Interaction.Triggers&gt;
                      &lt;i:EventTrigger EventName="Checked"&gt;
                          &lt;i:InvokeCommandAction Command="{Binding CurrentCheckedPosition}" /&gt;
                      &lt;/i:EventTrigger&gt;
                  &lt;/i:Interaction.Triggers&gt;                           
              &lt;/CheckBox&gt;
         &lt;/HierarchicalDataTemplate&gt;
      &lt;/ListBox.ItemTemplate&gt;
  &lt;/ListBox&gt;
  </code></pre>
  
  <p>Thanks a lot :-).</p>