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?
            Asked
            
        
        
            Active
            
        
            Viewed 512 times
        
    1 Answers
4
            try App.Current.MainWindow.Close();
        Shimmy Weitzhandler
        
- 101,809
 - 122
 - 424
 - 632
 
        user122069
        
- 419
 - 2
 - 3
 
- 
                    1Looks like this is only working with an out of browser application. – Nicolas Guillaume Jan 09 '12 at 18:21
 - 
                    1Since this question is only about OOB apps, this answer is entirely appropriate. – kindohm Feb 03 '12 at 18:39