EventCommander Error - Cannot get write-only property '....Commanding.EventCommander.Mappings'

Apr 22, 2010 at 10:06 PM
Edited Apr 23, 2010 at 3:21 PM

I am upgrading my .net 3.5 WPF project which is using the Cinch EventCommander class for handling events.  After upgrading to .net 4, I get the following error:

Cannot get write-only property 'MyAssembly.Commanding.EventCommander.Mappings'."

My code looks like this:

<WpfToolkit:DataGrid x:Uid="myGrid" ItemsSource="{Binding MyList}" ........>

                <Behaviors:CommandEvent Command="{Binding ShowWindowCommand}" Event="MouseDoubleClick" />


I want to associate multiple events to this grid so I can't use the SingleEventCommand.

I have not modified the EventCommander or any other such classes at all.  Anyone else seeing this issue after upgrading to .net 4?



May 9, 2010 at 7:04 AM

This should be ok now see this post for reason http://www.codeproject.com/KB/WPF/CinchII.aspx?msg=3465539#xx3465539xx

May 10, 2010 at 4:01 PM

Thanks so much, Sacha.  This worked for me.

May 11, 2010 at 2:15 PM

Cool, V2 will be so much better.