|
I have two Hyperlinks on my view which I currently have wired to the same command and bind the command parameter to a different screen per link. The links change the ActiveItem of my conductor. I would like to change my approach from using commands to using
Actions as I want to invoke a Coroutine on the clicking of the link. The problem I have is that I would like to pass in $dataContext.ScreenA and $dataContext.ScreenB as the parameters for my Coroutine, but this doesn't seem supported. So I have 2 questions.
1) Do you have any guidance on how to add such behavior to the Parser
2) Is there a simple way to kick off a Coroutine from a Command since I need the ActionExecutionContext and want to avoid building the code from
Note: I know in this case I can use the extended syntax (using System.Windows.Interactivity) to kick off my action, but it would be great to support this out the box (or at least in my organizations customizations/conventions).
|