title: ListBox mouse left click event
body: <p>I have this <code>ListBox</code> in my <code>XAML</code> file:</p>
  
  <pre><code>&lt;ListBox ItemsSource="{Binding Path=MyList}" Name="HistoryListBox" BorderThickness="0"
           Grid.Row="1" Margin="-2,0,0,0" ScrollViewer.CanContentScroll="False" 
           SelectionChanged="History_ListBox_Selection_Changed"&gt;
      &lt;ListBox.Resources&gt;
          &lt;!--Defines a context menu--&gt;
          &lt;ContextMenu x:Key="MyElementMenu"&gt;
              &lt;MenuItem Header="Delete from History" Click="MenuItemDelete_Click"/&gt;
          &lt;/ContextMenu&gt;
  
          &lt;!--Sets a context menu for each ListBoxItem in the current ListBox--&gt;
          &lt;Style TargetType="{x:Type ListBoxItem}"&gt;
              &lt;Setter Property="ContextMenu" Value="{StaticResource MyElementMenu}"/&gt;
          &lt;/Style&gt;
      &lt;/ListBox.Resources&gt;
  &lt;/ListBox&gt;
  </code></pre>
  
  <p>As you can see it's have the option that when the user click on item it's call </p>
  
  <pre><code>History_ListBox_Selection_Changed
  </code></pre>
  
  <p>And when the user select Rightclick on <code>ListBox</code> item the <code>ContextMenu</code> Appear.</p>
  
  <p>Now i have a problem that when a user click on the Right button the <code>History_ListBox_Selection_Changed</code> trigger and then the <code>ContextMenu</code> Appear.</p>
  
  <p>How i can make the <code>History_ListBox_Selection_Changed</code> work only when left click on the mouse?</p>