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

Problem with latest version of MVVMLight (5.2.0)

Nov 1, 2015 at 10:29 PM
I'm trying to hook up a Framework element to my ViewModel using an EventTrigger.
I finally determined that EventToCommand has been moved to GalaSoft.MvvmLight.Platform and updated my xmal declaration to the following:


My trigger declaration follows:

            <i:EventTrigger EventName="SelectedItemChanged" >
                <cmd:EventToCommand Command="{Binding Mode=OneWay, Path=TempCmd}" PassEventArgsToCommand="False" />
The <cmd:EventToCommand is producing the error:
           Cannot add content to an object of type "EventTrigger".
I'm obviously missing something. Does someone have any suggestions?


Dave K