How to use IsKeyboardFocusWithinChanged action message with caliburn?

655 Views Asked by At

I've noticed sometimes I can not get certain ActionMessages to behave, for example:

<TextBox cal:Message.Attach="[Event IsKeyboardFocusWithinChanged] = [Action Foo()]"/>

Will never call Foo, I'm forced to use code behind:

<TextBox IsKeyboardFocusWithinChanged="Foo"/>
0

There are 0 best solutions below