5

I'm running a Silverlight 4 app with elevated trust out of browser and cannot rely on the DOM or host web page to shut down Silverlight. There is no App.Current.Shutdown() method. How do I shut down a Silverlight app programmatically?

kindohm
  • 1,580
  • 18
  • 38

1 Answers1

4

try App.Current.MainWindow.Close();

Shimmy Weitzhandler
  • 101,809
  • 122
  • 424
  • 632
user122069
  • 419
  • 2
  • 3