Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I disable the exit button on a Silverlight 3 Child Window?

I mean the small exit/cancel button marked with an X in the top right hand corner. I want to implement a Logon dialog box that accepts a username/password so obviously I don't want the user to be able to dismiss the modal pop up. If it is not possible to remove or disable the button then is there some way I can intercept the closing event and stop it closing?

like image 705
TiGz Avatar asked Apr 06 '09 14:04

TiGz


1 Answers

You can use the HasCloseButton property of the ChildWindow to hide the close button.

Please let me know if this helps.

Ezequiel Jadib

like image 200
Ezequiel Jadib Avatar answered Oct 19 '22 05:10

Ezequiel Jadib