I have a textbox with the following:
<i:Interaction.Triggers>
<i:EventTrigger EventName="KeyUp" >
<cal:ActionMessage MethodName="OnKeyUp" >
<cal:Parameter Value="$eventArgs"/>
</cal:ActionMessage>
</i:EventTrigger>
If I run this, an error message is produced saying "No target found for Method OnKeyUp." If I remove the parameter from the message, and the method, then it runs fine.
This is the method.
public void OnKeyUp(object sender, KeyEventArgs e) {
MessageBox.Show(e.Key.ToString());
}
I don't see what the issue is.