The AppCanApp type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | AppCanApp |
Default constructor
|
Methods
Name | Description | |
---|---|---|
![]() | CanExecuteExitCommand |
AppCanCommands.Exit Can Execute Command
|
![]() | CanExecuteOpenCommand |
Called on the application open commands can execute call
|
![]() | CanExecuteSaveAsCommand |
Application Save As command can execute
|
![]() | CanExecuteSaveCommand |
Called on the Application Save can execute command
|
![]() | CheckAccess | Determines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.) |
![]() | ConfigureModuleCatalog |
Should be called from the BootStrapper when ConfigureModuleCatalog is called.
|
![]() | CreateShell |
Should be called from the BootStrapper when createshell is called
|
![]() | Equals | (Inherited from Object.) |
![]() | ExitCommand |
Called on the AppCanCommand.Exit Command, causes the app to be shutdown
|
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | FindResource | 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.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | InitDefaultServices |
Called internally to initialize many of the default managers/services/controllers
|
![]() | InitializeModules |
Should be called from the BootStrapper when InitializeModules is called.
|
![]() | InitializeShell |
Should be called from the BootStrapper when InitialiazeShell is called
|
![]() | MainWindow_Loaded |
Called when the main window is loaded
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ModelManager_Opening |
When the model manager is opening a new file it calls this method.
The default implementation closes the previously opened document
|
![]() | OnActivated |
Called when the application is activated
(Overrides Application..::..OnActivated(EventArgs).) |
![]() | OnDeactivated | Raises the Deactivated event. (Inherited from Application.) |
![]() | OnExit | Raises the Exit event. (Inherited from Application.) |
![]() | OnFragmentNavigation | Raises the FragmentNavigation event. (Inherited from Application.) |
![]() | OnLoadCompleted |
Called when loading the app has completed
(Overrides Application..::..OnLoadCompleted(NavigationEventArgs).) |
![]() | OnNavigated | Raises the Navigated event. (Inherited from Application.) |
![]() | OnNavigating | Raises the Navigating event. (Inherited from Application.) |
![]() | OnNavigationFailed | Raises the NavigationFailed event. (Inherited from Application.) |
![]() | OnNavigationProgress | Raises the NavigationProgress event. (Inherited from Application.) |
![]() | OnNavigationStopped | Raises the NavigationStopped event. (Inherited from Application.) |
![]() | OnSessionEnding | Raises the SessionEnding event. (Inherited from Application.) |
![]() | OnStartup |
Called when the application is started.
(Overrides Application..::..OnStartup(StartupEventArgs).) |
![]() | OpenCommand |
Called on the application open command. By default requests a model container to open
|
![]() | PostInitialization |
Used to initialize the default document and get the default context to use
|
![]() | 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.) |
![]() | SaveAsCommand |
Called on ApplicationCommand Save As - default saves the open model container, asking the file to save as...
|
![]() | SaveCommand |
Called on the application save command. Default tries to save the open modelcontainer
|
![]() | 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.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TryFindResource | Searches for the specified resource. (Inherited from Application.) |
![]() | VerifyAccess | Enforces that the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.) |
Properties
Name | Description | |
---|---|---|
![]() | Args |
The Arguments the application was started with
|
![]() | Container |
Gets the root unity container (or derived classes can set it)
|
![]() | ContextManager |
Returns context manager (or derived class can set the context manager)
|
![]() | DefaultContextName | |
![]() | Dispatcher | Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.) |
![]() | MainWindow | Gets or sets the main window of the application. (Inherited from Application.) |
![]() ![]() | ModelManager |
Gets or sets the model manager.
|
![]() | 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.) |
![]() | ShellContext |
Returns the context instance used for the shell main window
|
![]() | ShutdownMode | Gets or sets the condition that causes the Shutdown()()()() method to be called. (Inherited from Application.) |
![]() | StartupUri | Gets or sets a UI that is automatically shown when an application starts. (Inherited from Application.) |
![]() | Windows | Gets the instantiated windows in an application. (Inherited from Application.) |
Events
Name | Description | |
---|---|---|
![]() | Activated | Occurs when an application becomes the foreground application. (Inherited from Application.) |
![]() | Deactivated | Occurs when an application stops being the foreground application. (Inherited from Application.) |
![]() | DispatcherUnhandledException | Occurs when an exception is thrown by an application but not handled. (Inherited from Application.) |
![]() | Exit | Occurs just before an application shuts down, and cannot be canceled. (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.) |
![]() | 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.) |
![]() | 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.) |
![]() | SessionEnding | Occurs when the user ends the Windows session by logging off or shutting down the operating system. (Inherited from Application.) |
![]() | Startup | Occurs when the Run()()()() method of the Application object is called. (Inherited from Application.) |