Binding Command to Event with <i: Interaction.Triggers> Not Working
<p>I am trying to call a method with a button click.</p>

<p>I'm using Visual Studio Community 2015. I installed <a href="https://www.nuget.org/packages/Expression.Blend.Sdk/" rel="nofollow">Expression Blend</a> with NuGet Package Manger to get Windows.Interactivity.</p>

<p>My XAML:</p>

<pre><code>&lt;Window x:Class="TestApplication.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:local="clr-namespace:TestApplication"
    mc:Ignorable="d"
    Title="MainWindow" Height="350" Width="525"&gt;
&lt;Grid&gt;
    &lt;Button Content="Button"&gt;
        &lt;i:Interaction.Triggers&gt;
            &lt;i:EventTrigger EventName="Click"&gt;
                &lt;i:InvokeCommandAction Command="{Binding MessageBoxTest}"/&gt;
            &lt;/i:EventTrigger&gt;
        &lt;/i:Interaction.Triggers&gt;
    &lt;/Button&gt;
&lt;/Grid&gt;
</code></pre>

<p></p>

<p>My code behind:</p>

<pre><code>namespace TestApplication
{
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            this.DataContext = this;
        }

        public void MessageBoxTest()
        {
            MessageBox.Show("Test Successful");
        }
    }
}
</code></pre>

<p>When I click the button, nothing happens.</p>

<p>What am I doing wrong?</p>