App Methods |
The App type exposes the following members.
| Name | Description | |
|---|---|---|
| CheckAccess | Determines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.) | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| FindResource | Searches for a user interface (UI) resource, such as a Style or Brush, with the specified key, and throws an exception if the requested resource is not found (see Resources Overview). (Inherited from Application.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnActivated | Raises the Activated event. (Inherited from Application.) | |
| OnDeactivated | Raises the Deactivated event. (Inherited from Application.) | |
| OnExit | Raises the Exit event. (Inherited from Application.) | |
| OnFragmentNavigation | Raises the FragmentNavigation event. (Inherited from Application.) | |
| OnLoadCompleted | Raises the LoadCompleted event. (Inherited from Application.) | |
| OnNavigated | Raises the Navigated event. (Inherited from Application.) | |
| OnNavigating | Raises the Navigating event. (Inherited from Application.) | |
| OnNavigationFailed | Raises the NavigationFailed event. (Inherited from Application.) | |
| OnNavigationProgress | Raises the NavigationProgress event. (Inherited from Application.) | |
| OnNavigationStopped | Raises the NavigationStopped event. (Inherited from Application.) | |
| OnSessionEnding | Raises the SessionEnding event. (Inherited from Application.) | |
| OnStartup | Raises the Startup event. (Inherited from Application.) | |
| Run | Starts a Windows Presentation Foundation (WPF) application. (Inherited from Application.) | |
| Run(Window) | Starts a Windows Presentation Foundation (WPF) application and opens the specified window. (Inherited from Application.) | |
| Shutdown | Shuts down an application. (Inherited from Application.) | |
| Shutdown(Int32) | Shuts down an application that returns the specified exit code to the operating system. (Inherited from Application.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| TryFindResource | Searches for the specified resource. (Inherited from Application.) | |
| VerifyAccess | Enforces that the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.) |
| Name | Description | |
|---|---|---|
| IQueryAmbientIsAmbientPropertyAvailable | Queries for whether a specified ambient property is available in the current scope. (Inherited from Application.) |