Closing a Out of Browser application in silverlight from the code

1.8k Views Asked by At

How do I close an out of the browser application in silverlight programatically. I want to bring in the same functionality as the control box close, from the code based on some condition. How do I acheive it?

1

There are 1 best solutions below

1
On BEST ANSWER

As simple as that :)

App.Current.MainWindow.Close();