title: Invoking Commands from ListView in MVVM
body: <p>I'm using Prism for Windows Runtime to wire up events in my Views with DelegateCommands in my ViewModels. I am wondering what would be the best way to invoke commands (e.g. select item) from a ListView that contains Buttons (or custom controls derived freom the Button class). I'd like to keep the effects (e.g. background change, tilt effect) provided by the Button control. But the button unfortunately absorbs the click events, which, in consequence, I cannot use in the ListView to hook up my commands e.g with the following XAML (and Behaviors SDK):</p>
  
  <pre><code>&lt;ListView ItemsSource="{Binding AvailableItemsList}" SelectionMode="Single"&gt;
      &lt;ListView.ItemTemplate&gt;
          &lt;DataTemplate&gt;
              &lt;customControls:NavMenuButton Style="{StaticResource SelectionListMenuButton}" Content="{Binding Nickname}" DescriptionText="{Binding Name}" /&gt;
          &lt;/DataTemplate&gt;
      &lt;/ListView.ItemTemplate&gt;
      &lt;i:Interaction.Behaviors&gt;
          &lt;core:EventTriggerBehavior EventName="SelectionChanged"&gt;
              &lt;core:InvokeCommandAction Command="{Binding ItemSelectedCommand}" /&gt;
          &lt;/core:EventTriggerBehavior&gt;
      &lt;/i:Interaction.Behaviors&gt;
  &lt;/ListView&gt;
  </code></pre>
  
  <p>What would be the best way to achieve this? I have found similar questions, but the difference here is that the controls in the list items are apparently "stealing" the click event (while it works just fine with e.g. a simple TextBlock).</p>