DataBinding ListView ItemTemplate UserControl
<p>I have a ListView on my Windows Universal page.  I am using a UserControl to define my ItemTemplate so that I can use the RelativePanel and VisualStateManager to control how my items appear depending on the screen size...</p>

<pre><code>&lt;ListView ItemsSource="{Binding Path=AllThings}"
          ItemContainerStyle="{StaticResource ListViewItemStyle}"&gt;
    &lt;ListView.ItemTemplate&gt;
         &lt;DataTemplate&gt;
             &lt;local:CrossingControl /&gt;
         &lt;/DataTemplate&gt;
    &lt;/ListView.ItemTemplate&gt;
&lt;/ListView&gt;
</code></pre>

<p>I have a button in my UserControl where I want to bind its Command to a command property in the ViewModel that is the DataContext of the list itself...</p>

<pre><code>&lt;UserControl ...&gt;
    &lt;RelativePanel&gt;
    &lt;StackPanel x:Name="crossedEntryPanel"&gt;
        &lt;Button Command="{Binding DataContext.DeleteCommand,
                          RelativeSource={RelativeSource Mode=TemplatedParent}}"
                                    CommandParameter="{Binding}"
</code></pre>

<p>I have tried using the ElementName binding, but it doesn't seem to work (I suppose because my listview element name is defined in another xaml file).  I have also tried the above RelativeSource binding, but that doesn't seem to work either.  How can I bind this properly?</p>