What event occurs when the page is maximized? Either when the app starts or when the app is selected from the side of the screen?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is not a Maximized event, per se, since Store apps are never minimized.
For apps being launched are a difficult to describe because they can be launched in a variety of ways – Start page, Search, Share, etc. See http://msdn.microsoft.com/en-us/library/windows/apps/hh770838.aspx as a place to start, but there is more to it. To generalize, in C#, you override the various Onxxx methods, such as OnLaunched or OnSearchActivated. In js, you generally handle the WinJS.Application.onactivated event.
For apps that are being resumed, which is the scenario you highlighted with “selected from the side of the screen”, apps are resumed – you can capture resume events in C#
in javascript
I haven’t even talked about Snapped view, but you can start here… http://msdn.microsoft.com/en-us/library/windows/apps/hh465371.aspx