title: Getting Listbox Item Index from Button Click
body: <p>So I'm using a button in the <code>DataTemplate</code> of my <code>Listbox</code> <code>ItemTemplate</code>. Any ideas how I would grab the index of the item of the <code>Listbox</code> from the button click? I can't see to grab the button's parent. </p>
  
  <pre><code>&lt;ListBox.ItemTemplate&gt;
              &lt;DataTemplate DataType="{x:Type local:Img}"&gt;
                  &lt;Button Click="lstButton_Click"&gt;...
  </code></pre>