title: Is there a way to use the EventToCommand of the MVVMLight in the Microsoft.Xaml.Behaviors.Wpf?
body: <p>I have used System.Windows.Interactivity.WPF library with MVVM Light.</p>
  
  <p>I deleted System.Windows.Interactivity.WPF library because it's publishing date is old. And I installed Microsoft.Xaml.Behaviors.Wpf library and updated related to content.</p>
  
  <p>The work went smoothly except for one.
  The problem is if I use the interaction of Microsoft.Xaml.Behaviors.Wpf with EventToCommand of the MVVMLight as below, compiler shows error. </p>
  
  <pre><code> xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
   xmlns:mvvm="http://www.galasoft.ch/mvvmlight"
  
  &lt;i:Interaction.Triggers&gt;
      &lt;i:EventTrigger EventName="SelectedItemChanged"&gt;
          &lt;mvvm:EventToCommand Command="{Binding CPUSelectedCommand}"
                           PassEventArgsToCommand="True"
                           EventArgsConverter="{localConverters:SelectedItemConverter}" /&gt;
      &lt;/i:EventTrigger&gt;
  &lt;/i:Interaction.Triggers&gt;
  </code></pre>
  
  <p>The error message is "error MC3074: There is not EventToCommand tag in the XML namespace '<a href="http://www.galasoft.ch/mvvmlight" rel="nofollow noreferrer">http://www.galasoft.ch/mvvmlight</a>'."</p>
  
  <p>If I use CallMethodAction or InvokeCommand Microsoft.Xaml.Behaviors.Wpf then works well but I have to use EventToCommand because of to pass the parameter to the Command.</p>
  
  <p>What I should do to solve this problem?
  Could someone tell me the solution?</p>
  
  <p>Thanks for reading.</p>