how do you shut down a silverlight out of browser app?
-
21-04-2021 - |
Question
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?
Solution
try App.Current.MainWindow.Close();
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow