This documentation is archived and is not being maintained.

Application Properties

The Application type exposes the following members.

Public property Static member Current Gets the Application object for the current AppDomain.
Public property Dispatcher Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.)
Public property MainWindow Gets or sets the main window of the application.
Public property Properties Gets a collection of application-scope properties.
Public property Static member ResourceAssembly Gets or sets the Assembly that provides the pack uniform resource identifiers (URIs) for resources in a WPF application.
Public property Resources Gets or sets a collection of application-scope resources, such as styles and brushes.
Public property ShutdownMode Gets or sets the condition that causes the Shutdown method to be called.
Public property StartupUri Gets or sets a UI that is automatically shown when an application starts.
Public property Windows Gets the instantiated windows in an application.