title: How to bind mousedouble click command in mvvm
body: <p>I have listview and I want to have show new window when someone double click in any position. But I have mvvm application and I don't want to have any function in code behind of xaml file, like this: <a href="https://stackoverflow.com/questions/5808616/how-to-bind-a-command-to-double-click-on-a-row-in-datagrid">How to bind a Command to double-click on a row in DataGrid</a> and many other samples like this. I want to have method in viewmodel file and bind it like this: </p>
  
  <pre><code>&lt;ListView ... MouseDoubleClick="{Binding myfunction}"&gt; 
  </code></pre>
  
  <p>Thanks</p>