Separate Action Target object?

Topics: Actions & Coroutines, Conventions, Extensibility
Mar 5, 2013 at 3:55 PM

I am starting off with my first Caliburn.Micro project.

In previous WPF projects I did, I implemented separate command handler objects. These command handlers were registered at the window (CommandBinding) and had access to the IoC container. I really liked to isolate my (command) processes from my data (ViewModel).

I wonder if something like that is possible with Actions. So can I specify an Action Target that is a separate object instance (and has nothing to do with the current ViewModel, DataContext, Control Element or whatever)??

Mar 5, 2013 at 4:39 PM
You can use Action.TargetWithoutContext.