title: ListBox MouseBinding to Command not working
body: <p>I want to bind the MouseDoubleClick (or PreviewMouseDoubleClick) to my <strong>custom Command defined in my custom WPF Control</strong>.</p>
  
  <p>The problem is that it does not work.</p>
  
  <pre><code>...
  &lt;Popup&gt;
  ...
  &lt;!--This CommandBinding **DOES NOT WORK** !--&gt;
  &lt;ListBox Grid.Row="1"
     x:Name="PART_lBox"                                                                      
     VirtualizingStackPanel.IsVirtualizing="True"
     DisplayMemberPath="{TemplateBinding DisplayMemberPath}"                                                                     
     ItemsSource="{TemplateBinding ItemsSource}"&gt;
   &lt;ListBox.InputBindings&gt;                                                                    
    &lt;MouseBinding Command="{x:Static local:ListPicker.AcceptCommand}"                                                                                  
         MouseAction="LeftDoubleClick" /&gt;
   &lt;/ListBox.InputBindings&gt;
  &lt;/ListBox&gt;
  
  &lt;!--This CommandBinding **WORKS** !--&gt;
  &lt;Button Grid.Row="0"
    Grid.Column="1"                                                                        
    HorizontalAlignment="Right"
    Command="{x:Static local:ListPicker.AcceptCommand}"
    Content="Accept" /&gt;
  ...
  &lt;/Popup&gt;
  </code></pre>