0

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?

Jonathan Leffler
  • 730,956
  • 141
  • 904
  • 1,278
Niranjan
  • 813
  • 2
  • 12
  • 33

1 Answers1

11

As simple as that :)

App.Current.MainWindow.Close();
danbord
  • 3,605
  • 3
  • 33
  • 49