Share via


Application Members

The following tables list the members exposed by the Application type.

Public Constructors

Name Description
Public Method Application Initializes a new instance of the Application class.

Public Fields

Name Description
Public Field Dispatcher (Inherited from DispatcherObject.)

Public Properties

Name Description
Public Property Static Current Gets the Application object for the current application domain.
Public Property MainWindow Gets or sets the main window of the current application.
Public Property ShutdownMode Gets or sets the condition that causes the Shutdown method to be called.
Public Property Windows Gets the instantiated windows in the current application.

Public Methods

Name Description
Public Method CheckAccess (Inherited from DispatcherObject.)
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method InitializeForEventSource Initializes the input objects needed to process events.
Public Method OnEvent Processes known events, and forwards unrecognized ones as generic events.
Public Method ReferenceEquals (Inherited from Object.)
Public Method Run Overloaded. Starts a Windows Presentation Foundation (WPF) application.
Public Method Shutdown Causes an application to exit.
Public Method ToString (Inherited from Object.)
Public Method VerifyAccess (Inherited from DispatcherObject.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)
Protected Method OnExit Raises the Exit event.
Protected Method OnStartup Raises the Startup event.

Public Events

Name Description
Public Event Exit Occurs just before an application exits.
Public Event Startup Occurs when the Run method of an Application object is called.

See Also

Reference

Application Class
Microsoft.SPOT Namespace