I am switching my old System.Windows.Interactivity nuget packages to Microsoft.Xaml.Behaviors.Wpf . This is leading to compilation errors for the following
<b:Interaction.Triggers> <b:EventTrigger EventName="Click"> <cal:ActionMessage MethodName="Start"/> </b:EventTrigger> </b:Interaction.Triggers> Where ActionMessage is Caliburn.Micro.ActionMessage.
The error I am getting is the following
Error XDG0048 The specified value cannot be assigned to the collection. The following type was expected: "TriggerAction".
How can I upgrade while maintaining functionality?
Caliburn Microrequire forMicrosoft.Xaml.Behaviors.Wpf. Alternatively try with short syntax like<Button cal:Message.Attach="[Event MouseEnter] = [Action Save]">Microsoft.Xaml.Behaviors.Wpfwas added already and exists in4.0.109-alphaversion of CM. You can usemygetfeed to get an alpha version