Search code examples
wpfprismconfirmation

InteractionRequest<Confirmation>: the focus stays on the clicked button


Would anybody know how do I give the focus to the Cancel button of a Prism InteractionRequest?

What happens at the moment, is that given you've pressed enter on a button in a main window and the InteractionRequestTrigger fired, if you press enter again, you are in trouble as the focus stayed on the parent window and InteractionRequestTrigger fires a second time...

Thanks for your help


Solution

  • Ah! I should have marked my Popup as Focusable!