PopupChildWindowAction default selected button OK

Topics: Prism v2 - Silverlight 4
Sep 6, 2012 at 6:31 PM


I am wondering how to make the OK button as the preselected one in confirmation popup window.

Any idea how to make ok button as the default selected button?

Sep 6, 2012 at 8:31 PM


As far as I know, Prism doesn't provide any functionality to do this as out of the box.

As a starting point, you can define your own custom ChildWindow for the PopupChildWindowAction. To use it instead of the default ConfirmationChildWindow, you can set it like this:


Then, in order to set the OK button of that child window as the default button, I believe you could follow the approaches proposed in this thread:


Damian Cherubini

Sep 6, 2012 at 9:31 PM

Thanks for your suggestion. I am also trying to create custom child window and hope that will resolve the problem.