App Class

Interaction logic for App.xaml

Definition

Namespace: MbcsCentral
Assembly: MbcsCentral (in MbcsCentral.exe) Version: 2.0.1.15 (2.0.1.15)
C#
public class App : Application
Inheritance
Object    DispatcherObject    Application    App

Constructors

AppInitializes a new instance of the App class

Properties

DispatcherGets the Dispatcher this DispatcherObject is associated with.
(Inherited from DispatcherObject)
MainWindowGets or sets the main window of the application.
(Inherited from Application)
PropertiesGets a collection of application-scope properties.
(Inherited from Application)
ResourcesGets or sets a collection of application-scope resources, such as styles and brushes.
(Inherited from Application)
ShutdownModeGets or sets the condition that causes the Shutdown method to be called.
(Inherited from Application)
StartupUriGets or sets a UI that is automatically shown when an application starts.
(Inherited from Application)
WindowsGets the instantiated windows in an application.
(Inherited from Application)

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
FindResourceSearches 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).
(Inherited from Application)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OnActivatedRaises the Activated event.
(Inherited from Application)
OnDeactivatedRaises the Deactivated event.
(Inherited from Application)
OnExitRaises the Exit event.
(Inherited from Application)
OnFragmentNavigationRaises the FragmentNavigation event.
(Inherited from Application)
OnLoadCompletedRaises the LoadCompleted event.
(Inherited from Application)
OnNavigatedRaises the Navigated event.
(Inherited from Application)
OnNavigatingRaises the Navigating event.
(Inherited from Application)
OnNavigationFailedRaises the NavigationFailed event.
(Inherited from Application)
OnNavigationProgressRaises the NavigationProgress event.
(Inherited from Application)
OnNavigationStoppedRaises the NavigationStopped event.
(Inherited from Application)
OnSessionEndingRaises the SessionEnding event.
(Inherited from Application)
OnStartup
(Overrides ApplicationOnStartup(StartupEventArgs))
RunStarts 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)
ShutdownShuts 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)
ToStringReturns a string that represents the current object.
(Inherited from Object)
TryFindResourceSearches for the specified resource.
(Inherited from Application)

Events

ActivatedOccurs when an application becomes the foreground application.
(Inherited from Application)
DeactivatedOccurs when an application stops being the foreground application.
(Inherited from Application)
DispatcherUnhandledExceptionOccurs when an exception is thrown by an application but not handled.
(Inherited from Application)
ExitOccurs just before an application shuts down, and cannot be canceled.
(Inherited from Application)
FragmentNavigationOccurs when a navigator in the application begins navigation to a content fragment, Navigation occurs immediately if the desired fragment is in the current content, or after the source XAML content has been loaded if the desired fragment is in different content.
(Inherited from Application)
LoadCompletedOccurs when content that was navigated to by a navigator in the application has been loaded, parsed, and has begun rendering.
(Inherited from Application)
NavigatedOccurs when the content that is being navigated to by a navigator in the application has been found, although it may not have completed loading.
(Inherited from Application)
NavigatingOccurs when a new navigation is requested by a navigator in the application.
(Inherited from Application)
NavigationFailedOccurs when an error occurs while a navigator in the application is navigating to the requested content.
(Inherited from Application)
NavigationProgressOccurs periodically during a download that is being managed by a navigator in the application to provide navigation progress information.
(Inherited from Application)
NavigationStoppedOccurs when the StopLoading method of a navigator in the application is called, or when a new navigation is requested by a navigator while a current navigation is in progress.
(Inherited from Application)
SessionEndingOccurs when the user ends the Windows session by logging off or shutting down the operating system.
(Inherited from Application)
StartupOccurs when the Run method of the Application object is called.
(Inherited from Application)

See Also