Export (0) Print
Expand All

Application Methods

The Application type exposes the following members.

  Name Description
Public method CheckAccess Determines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method 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 XAML Resources).
Public method Static member GetContentStream Returns a resource stream for a content data file that is located at the specified Uri (see WPF Application Resource, Content, and Data Files).
Public method Static member GetCookie Retrieves a cookie for the location specified by a Uri.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method Static member GetRemoteStream Returns a resource stream for a site-of-origin data file that is located at the specified Uri (see WPF Application Resource, Content, and Data Files).
Public method Static member GetResourceStream Returns a resource stream for a resource data file that is located at the specified Uri (see WPF Application Resource, Content, and Data Files).
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Static member LoadComponent(Uri) Loads a XAML file that is located at the specified uniform resource identifier (URI), and converts it to an instance of the object that is specified by the root element of the XAML file.
Public method Static member LoadComponent(Object, Uri) Loads a XAML file that is located at the specified uniform resource identifier (URI) and converts it to an instance of the object that is specified by the root element of the XAML file.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnActivated Raises the Activated event.
Protected method OnDeactivated Raises the Deactivated event.
Protected method OnExit Raises the Exit event.
Protected method OnFragmentNavigation Raises the FragmentNavigation event.
Protected method OnLoadCompleted Raises the LoadCompleted event.
Protected method OnNavigated Raises the Navigated event.
Protected method OnNavigating Raises the Navigating event.
Protected method OnNavigationFailed Raises the NavigationFailed event.
Protected method OnNavigationProgress Raises the NavigationProgress event.
Protected method OnNavigationStopped Raises the NavigationStopped event.
Protected method OnSessionEnding Raises the SessionEnding event.
Protected method OnStartup Raises the Startup event.
Public method Run() Starts a Windows Presentation Foundation (WPF) application.
Public method Run(Window) Starts a Windows Presentation Foundation (WPF) application and opens the specified window.
Public method Static member SetCookie Creates a cookie for the location specified by a Uri.
Public method Shutdown() Shuts down an application.
Public method Shutdown(Int32) Shuts down an application that returns the specified exit code to the operating system.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryFindResource Searches for the specified resource.
Public method VerifyAccess Enforces that the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.)
Top

  Name Description
Explicit interface implemetation Private method IQueryAmbient.IsAmbientPropertyAvailable Queries for whether a specified ambient property is available in the current scope.
Top
Show:
© 2014 Microsoft