App Events

The App type exposes the following members.

Events


  Name Description
Public event Activated
Occurs when an application becomes the foreground application.
(Inherited from Application.)
Public event Deactivated
Occurs when an application stops being the foreground application.
(Inherited from Application.)
Public event DispatcherUnhandledException
Occurs when an exception is thrown by an application but not handled.
(Inherited from Application.)
Public event Exit
Occurs just before an application shuts down, and cannot be canceled.
(Inherited from Application.)
Public event FragmentNavigation
Occurs when a navigator in the application begins navigation to a content fragment, Navigation occurs immediately if the desired fragment is in the current content, or after the source XAML content has been loaded if the desired fragment is in different content.
(Inherited from Application.)
Public event LoadCompleted
Occurs when content that was navigated to by a navigator in the application has been loaded, parsed, and has begun rendering.
(Inherited from Application.)
Public event Navigated
Occurs when the content that is being navigated to by a navigator in the application has been found, although it may not have completed loading.
(Inherited from Application.)
Public event Navigating
Occurs when a new navigation is requested by a navigator in the application.
(Inherited from Application.)
Public event NavigationFailed
Occurs when an error occurs while a navigator in the application is navigating to the requested content.
(Inherited from Application.)
Public event NavigationProgress
Occurs periodically during a download that is being managed by a navigator in the application to provide navigation progress information.
(Inherited from Application.)
Public event NavigationStopped
Occurs when the StopLoading method of a navigator in the application is called, or when a new navigation is requested by a navigator while a current navigation is in progress.
(Inherited from Application.)
Public event SessionEnding
Occurs when the user ends the Windows session by logging off or shutting down the operating system.
(Inherited from Application.)
Public event Startup
Occurs when the Run method of the Application object is called.
(Inherited from Application.)