title: WPF Button in a ListView, how do I tell which button was clicked
body: <p>WPF 3.5<br>
  I have a ListView for which the XAML looks like so </p>
  
  <pre><code>&lt;ListView Name="ListView_FileAttachments"&gt;
  &lt;ListView.View&gt;
      &lt;GridView&gt;
                      &lt;GridView.Columns&gt;
                          &lt;GridViewColumn Header="Type"&gt;&lt;/GridViewColumn&gt;
                          &lt;GridViewColumn Header="File Name"&gt;&lt;/GridViewColumn&gt;                            
                          &lt;GridViewColumn Header="Security"&gt;
                              &lt;GridViewColumn.CellTemplate&gt;
                                  &lt;DataTemplate&gt;
                                      &lt;Button Content="Set Restrictions" Click="Restrictions_Clicked"&gt;&lt;/Button&gt;
                                  &lt;/DataTemplate&gt;
                              &lt;/GridViewColumn.CellTemplate&gt;
  
                          &lt;/GridViewColumn&gt;
                      &lt;/GridView.Columns&gt;
                  &lt;/GridView&gt;
              &lt;/ListView.View&gt;              
          &lt;/ListView&gt;
  </code></pre>
  
  <p>When I Click on a button in an individual cell how do I tell which button was clicked ( to be clear though I am interested in the ListView Item that this button belongs to because what I really want to do is retrieve the value of another column in that row )</p>