title: How to attach checked event to CheckBox in DataTemplate in wpf
body: <p>Hi I am having a <code>CheckBox</code> defined in a <code>DataTemplate</code> which is defined in resource.Xaml file.  I am using this <code>DataTemplate</code> in my user control. I am adding this <code>DataTemplate</code> dynamically to a <code>GridView</code>. Now I want to fire the checked event of a <code>CheckBox</code>.  How will I attach the event?  My Xaml is like this:</p>
  
  <pre><code>&lt;ListView&gt;
      &lt;ListView.View&gt;
          &lt;GridView&gt;&lt;/GridView&gt;
      &lt;/ListView.View&gt;
  &lt;/ListView&gt;
  </code></pre>