App Class

Design Pattern Framework 3.5

Design Pattern Framework 3.5 App Class
Patterns-In-Action! ApplicationWPFApplicationApp
Interaction logic for App.xaml
App
Declaration Syntax
C# Visual Basic
public class App : Application
Public Class App _
	Inherits Application
Members
All Members Constructors Methods Properties Events



Icon Member Description
App()()()
Initializes a new instance of the App class

Activated
Occurs when an application becomes the foreground application.
(Inherited from Application.)
CheckAccess()()()
Determines whether the calling thread has access to this DispatcherObject.
(Inherited from DispatcherObject.)
CustomerViewModel
Gets customerview model from MainWindow.

Deactivated
Occurs when an application stops being the foreground application.
(Inherited from Application.)
Dispatcher
Gets the Dispatcher this DispatcherObject is associated with.
(Inherited from DispatcherObject.)
DispatcherUnhandledException
Occurs when an exception is thrown by an application but not handled.
(Inherited from Application.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Exit
Occurs just before an application shuts down, and cannot be canceled.
(Inherited from Application.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FindResource(Object)
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 Resources Overview).
(Inherited from Application.)
FragmentNavigation
Occurs 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.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
InitializeComponent()()()
InitializeComponent

LoadCompleted
Occurs when content that was navigated to by a navigator in the application has been loaded, parsed, and has begun rendering.
(Inherited from Application.)
Main()()()
Application Entry Point.

MainWindow
Gets or sets the main window of the application.
(Inherited from Application.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Navigated
Occurs 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.)
Navigating
Occurs when a new navigation is requested by a navigator in the application.
(Inherited from Application.)
NavigationFailed
Occurs when an error occurs while a navigator in the application is navigating to the requested content.
(Inherited from Application.)
NavigationProgress
Occurs periodically during a download that is being managed by a navigator in the application to provide navigation progress information.
(Inherited from Application.)
NavigationStopped
Occurs 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.)
OnActivated(EventArgs)
Raises the Activated event.
(Inherited from Application.)
OnDeactivated(EventArgs)
Raises the Deactivated event.
(Inherited from Application.)
OnExit(ExitEventArgs)
Raises the Exit event.
(Inherited from Application.)
OnFragmentNavigation(FragmentNavigationEventArgs)
Raises the FragmentNavigation event.
(Inherited from Application.)
OnLoadCompleted(NavigationEventArgs)
Raises the LoadCompleted event.
(Inherited from Application.)
OnNavigated(NavigationEventArgs)
Raises the Navigated event.
(Inherited from Application.)
OnNavigating(NavigatingCancelEventArgs)
Raises the Navigating event.
(Inherited from Application.)
OnNavigationFailed(NavigationFailedEventArgs)
Raises the NavigationFailed event.
(Inherited from Application.)
OnNavigationProgress(NavigationProgressEventArgs)
Raises the NavigationProgress event.
(Inherited from Application.)
OnNavigationStopped(NavigationEventArgs)
Raises the NavigationStopped event.
(Inherited from Application.)
OnSessionEnding(SessionEndingCancelEventArgs)
Raises the SessionEnding event.
(Inherited from Application.)
OnStartup(StartupEventArgs)
Raises the Startup event.
(Inherited from Application.)
Properties
Gets a collection of application-scope properties.
(Inherited from Application.)
Resources
Gets or sets a collection of application-scope resources, such as styles and brushes.
(Inherited from Application.)
Run()()()
Starts 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.)
SessionEnding
Occurs when the user ends the Windows session by logging off or shutting down the operating system.
(Inherited from Application.)
Shutdown()()()
Shuts 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.)
ShutdownMode
Gets or sets the condition that causes the Shutdown()()() method to be called.
(Inherited from Application.)
Startup
Occurs when the Run()()() method of the Application object is called.
(Inherited from Application.)
StartupUri
Gets or sets a UI that is automatically shown when an application starts.
(Inherited from Application.)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
TryFindResource(Object)
Searches for the specified resource.
(Inherited from Application.)
VerifyAccess()()()
Enforces that the calling thread has access to this DispatcherObject.
(Inherited from DispatcherObject.)
Windows
Gets the instantiated windows in an application.
(Inherited from Application.)
Inheritance Hierarchy

Assembly: WPFApplication (Module: WPFApplication) Version: 3.5.0.0 (3.5.0.0)