Application Members
The following tables list the members exposed by the Application type.
Public Constructors
Name | Description | |
---|---|---|
Application | Initializes a new instance of the Application class. |
Public Fields
Name | Description | |
---|---|---|
Dispatcher | (Inherited from DispatcherObject.) |
Public Properties
Name | Description | |
---|---|---|
Current | Gets the Application object for the current application domain. | |
MainWindow | Gets or sets the main window of the current application. | |
ShutdownMode | Gets or sets the condition that causes the Shutdown method to be called. | |
Windows | Gets the instantiated windows in the current application. |
Public Methods
Name | Description | |
---|---|---|
CheckAccess | (Inherited from DispatcherObject.) | |
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
InitializeForEventSource | Initializes the input objects needed to process events. | |
OnEvent | Processes known events, and forwards unrecognized ones as generic events. | |
ReferenceEquals | (Inherited from Object.) | |
Run | Overloaded. Starts a Windows Presentation Foundation (WPF) application. | |
Shutdown | Causes an application to exit. | |
ToString | (Inherited from Object.) | |
VerifyAccess | (Inherited from DispatcherObject.) |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnExit | Raises the Exit event. | |
OnStartup | Raises the Startup event. |
Public Events
Name | Description | |
---|---|---|
Exit | Occurs just before an application exits. | |
Startup | Occurs when the Run method of an Application object is called. |