PRISM + SILVERLIGHT 5 ChildPopUp Window

Topics: Prism v4 - Silverlight 4
Jul 22, 2013 at 10:15 PM
Hi,

Does anybody know how to apply style to the "Confirm/OK" and "Cancel" buttons of the <prism:PopupChildWindowAction>?

I need to make the buttons larger since the text appears truncated.

Any tips are appreciated, thanks

Luis
Jul 23, 2013 at 5:44 PM
Hi,

Based on my understanding, you can only apply style to the content of the Child Popup Window that Silverlight provides, not the buttons. Nevertheless, you can create your own type of Child Popup Window and use the styles you want for the buttons. To do this, you could get the ChildWindow code from the Prism library, add it to your solution, and modify it accordingly. Then, you just need to call that custom child window from the PopupChildWindowAction.

Hope this helps,

Federico Martinez
http://blogs.southworks.net/fmartinez