This project has moved and is read-only. For the latest updates, please go here.

EventToCommand missing

Jun 20, 2013 at 12:46 PM
I have a problem accessing the EventToCommand in my WPF4 application. It seems it is not accessible from the namespace I included.

I added the references by using NUGET.

The references GalaSoft.MvvmLight.Extras.WPF4, GalaSoft.MvvmLight.WPF4 and System.Windows.Interactivity were added.

In my .xaml I included
I want to add a trigger to a textbox, something like:
<TextBlock Text="A command" >
     <i:EventTrigger EventName="MouseDown">
        <cmd:EventToCommand Command="{Binding DoActionCommand}"/>
However the EventToCommand is not recognized. (and I don't get IntelliSense from cmd:

Can someone help?