title: How can I trigger an event when the left mouse button gets released in WPF?
body: <p>I need to trigger an event when the left mouse button gets released. I've tried this:</p>
  
  <pre><code>&lt;i:Interaction.Triggers&gt;
     &lt;i:EventTrigger EventName="MouseClick" &gt;
        &lt;i:InvokeCommandAction Command="{Binding OnBarGroupChangeCommand}"    CommandParameter="{Binding ElementName=ReportsBarGroup, Path=Key}"  /&gt;
     &lt;/i:EventTrigger&gt;
  &lt;/i:Interaction.Triggers&gt;
  </code></pre>
  
  <p>and this</p>
  
  <pre><code>        &lt;igWPF:OutlookBarGroup.InputBindings&gt;
              &lt;MouseBinding MouseAction="LeftClick" 
                            Command="{Binding OnBarGroupChangeCommand}" CommandParameter="{Binding ElementName=ReportsBarGroup, Path=Key}"/&gt;
          &lt;/igWPF:OutlookBarGroup.InputBindings&gt;
  </code></pre>
  
  <p>These both work. The problem with both cases is that the event fires when the button gets pressed. I need it to fire only when the button gets released. The MouseBinding does not seem to support this. Is there a way to do this with Interaction? What is the best way to handle this? Thanks.</p>