The AppCanApp type exposes the following members.

Methods

  NameDescription
Protected methodCanExecuteExitCommand
AppCanCommands.Exit Can Execute Command
Protected methodCanExecuteOpenCommand
Called on the application open commands can execute call
Protected methodCanExecuteSaveAsCommand
Application Save As command can execute
Protected methodCanExecuteSaveCommand
Called on the Application Save can execute command
Public methodCheckAccess
Determines whether the calling thread has access to this DispatcherObject.
(Inherited from DispatcherObject.)
Public methodConfigureModuleCatalog
Should be called from the BootStrapper when ConfigureModuleCatalog is called.
Public methodCreateShell
Should be called from the BootStrapper when createshell is called
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodExitCommand
Called on the AppCanCommand.Exit Command, causes the app to be shutdown
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindResource
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.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodInitDefaultServices
Called internally to initialize many of the default managers/services/controllers
Public methodInitializeModules
Should be called from the BootStrapper when InitializeModules is called.
Public methodInitializeShell
Should be called from the BootStrapper when InitialiazeShell is called
Protected methodMainWindow_Loaded
Called when the main window is loaded
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodModelManager_Opening
When the model manager is opening a new file it calls this method. The default implementation closes the previously opened document
Protected methodOnActivated
Called when the application is activated
(Overrides Application..::..OnActivated(EventArgs).)
Protected methodOnDeactivated
Raises the Deactivated event.
(Inherited from Application.)
Protected methodOnExit
Raises the Exit event.
(Inherited from Application.)
Protected methodOnFragmentNavigation
Raises the FragmentNavigation event.
(Inherited from Application.)
Protected methodOnLoadCompleted
Called when loading the app has completed
(Overrides Application..::..OnLoadCompleted(NavigationEventArgs).)
Protected methodOnNavigated
Raises the Navigated event.
(Inherited from Application.)
Protected methodOnNavigating
Raises the Navigating event.
(Inherited from Application.)
Protected methodOnNavigationFailed
Raises the NavigationFailed event.
(Inherited from Application.)
Protected methodOnNavigationProgress
Raises the NavigationProgress event.
(Inherited from Application.)
Protected methodOnNavigationStopped
Raises the NavigationStopped event.
(Inherited from Application.)
Protected methodOnSessionEnding
Raises the SessionEnding event.
(Inherited from Application.)
Protected methodOnStartup
Called when the application is started.
(Overrides Application..::..OnStartup(StartupEventArgs).)
Protected methodOpenCommand
Called on the application open command. By default requests a model container to open
Protected methodPostInitialization
Used to initialize the default document and get the default context to use
Public methodRun()()()()
Starts a Windows Presentation Foundation (WPF) application.
(Inherited from Application.)
Public methodRun(Window)
Starts a Windows Presentation Foundation (WPF) application and opens the specified window.
(Inherited from Application.)
Protected methodSaveAsCommand
Called on ApplicationCommand Save As - default saves the open model container, asking the file to save as...
Protected methodSaveCommand
Called on the application save command. Default tries to save the open modelcontainer
Public methodShutdown()()()()
Shuts down an application.
(Inherited from Application.)
Public methodShutdown(Int32)
Shuts down an application that returns the specified exit code to the operating system.
(Inherited from Application.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryFindResource
Searches for the specified resource.
(Inherited from Application.)
Public methodVerifyAccess
Enforces that the calling thread has access to this DispatcherObject.
(Inherited from DispatcherObject.)

See Also