ActionMessage doesnt work in Caliburn Micro 1.4.1

Topics: Bugs
Jan 28, 2013 at 12:02 AM

When i try to do smthing like that:

  <customCalendar:Calendar ContentPropertyNameForDatesSource="NumberOfTasks" DatePropertyNameForDatesSource="CurrentDate" 
            DatesSource="{Binding CalendarItems}" Grid.Row="0"
                    <cm:ActionMessage MethodName="DateTapped" >
                        <cm:Parameter Value="$eventargs" />


I get following error:
Error 8 The type 'Caliburn.Micro.Parameter' cannot be used as type parameter 'T' in the generic type or method 'Caliburn.Micro.AttachedCollection<T>'. There is no implicit reference conversion from 'Caliburn.Micro.Parameter' to 'Windows.UI.Interactivity.IAttachedObject'

Jan 28, 2013 at 7:40 AM

Please have a look at the "Long Syntax" section in the Cheat Sheet.

Jan 28, 2013 at 11:19 PM
Edited Jan 28, 2013 at 11:20 PM
Sorry, my mistake. Following Code doesn't work:
<i:EventTrigger EventName="DateTapped"> 
                   <cm:ActionMessage MethodName="DateTapped" >  
                      <cm:Parameter Value="$eventargs" />                

Jan 31, 2013 at 6:26 PM
May you create a sample that shows the issue, as I'm not able to reproduce it.