title: DoubleClick Event for ListViewItem in WPF
body: <p>I know this was already asked a lot, but I didn't find any solution.</p>
  
  <p>My <code>ListView</code> looks like this</p>
  
  <pre><code>&lt;ListView Margin="0,0,0,0" x:Name="ContactListView" BorderBrush="Black" ItemsSource="{Binding RosterItemX}"&gt;
      &lt;ListView.ItemTemplate&gt;
          &lt;DataTemplate&gt;
              &lt;StackPanel Orientation="Horizontal" Height="25"&gt;
                  &lt;Image Tag="{Binding Availability}" Margin="0,0,5,0" Width="16" Height="16" VerticalAlignment="Center"&gt;
                  &lt;/Image&gt;
                  &lt;TextBlock Text="{Binding Name}" VerticalAlignment="Center"/&gt;
              &lt;/StackPanel&gt;
          &lt;/DataTemplate&gt;
      &lt;/ListView.ItemTemplate&gt;
      &lt;i:Interaction.Triggers&gt;
          &lt;i:EventTrigger EventName="MouseDoubleClick"&gt;
              &lt;Custom:EventToCommand Command="{Binding ContactDblClicked, Mode=OneWay}" PassEventArgsToCommand="True" /&gt;
          &lt;/i:EventTrigger&gt;
      &lt;/i:Interaction.Triggers&gt;
  &lt;/ListView&gt;
  </code></pre>
  
  <p>I have my <code>ICommand</code> in my viewmodel:</p>
  
  <pre><code>public ICommand ContactDblClicked { get { return new RelayCommand&lt;MouseButtonEventArgs&gt;(contactDblClicked); } }
  </code></pre>
  
  <p>This event fires everytime someone double clicks into the <code>ListView</code>. Doesn't have to be on a <code>ListViewItem</code>.</p>
  
  <p>I can handle the case when no <code>ListViewItem</code> is selected.
  I cast <code>(ListView)e.Source</code>, and check if an Item is selected.</p>
  
  <p>I need a way to check if what is double clicked is actually a <code>ListViewItem</code> and not empty space.</p>