I would like to bind the methodname property to the caliburn.micro request to the method of the child ViewModel.
As I think it should work:
<i:Interaction.Triggers> <i:EventTrigger EventName="Click"> <cal:ActionMessage MethodName="MenuItemX.Clicked" /> </i:EventTrigger> </i:Interaction.Triggers>
The problem is that the method name does not live directly on the viewmodel, but on the child of the viewmodel.
So, in this case, I would like to bind to: ViewModel.MenuItemX.Clicked ()
The current workaround has a pass-through method on my view model that smells.
source share