IApplicationModel Members
Include Protected Members
Include Inherited Members
The IApplicationModel type exposes the following members.
Methods
Name | Description | |
---|---|---|
EnsureCanSaveConfigurationFile |
Ensures whether a configuration file can be saved to by the application. |
|
Load |
Loads a new ConfigurationSourceModel from configurationFilePath.
|
|
New |
Re-initializes the application with a new ConfigurationSourceModel.
|
|
OnSelectedElementChanged |
Raises the SelectedElementChanged event.
|
|
PromptSaveChangesIfDirtyAndContinue |
Prompts the user to save any unsaved changes.
|
|
Save | Overloaded. | |
SetDirty |
Sets the IsDirty property to truetrue (True in Visual Basic), indicating that the application has unsaved changes.
|
Properties
Name | Description | |
---|---|---|
ConfigurationFilePath |
Gets the path to the currently opened ConfigurationSourceModel.
|
|
ExitCommand |
Gets an ICommand instance that can be invoked to close the application.
|
|
IsDirty |
Gets whether the application model contains unsaved changes. |
|
NewConfigurationCommand |
Gets an ICommand instance that can be invoked to re-initialize the application with a new ConfigurationSourceModel.
|
|
OnCloseAction |
Gets or sets the Action that should be performed to close the application.
|
|
OpenConfigurationCommand |
Gets an ICommand instance that can be invoked to open a new ConfigurationSourceModel.
|
|
SaveAsConfigurationCommand |
Gets an ICommand instance that can be invoked to save a copy of the current ConfigurationSourceModel.
|
|
SaveConfigurationCommand |
Gets an ICommand instance that can be invoked to save the current ConfigurationSourceModel.
|
|
ValidationModel |
Gets the ValidationModel instance for this application.
|
Events
Name | Description | |
---|---|---|
SelectedElementChanged |
Occurs when the selected ElementViewModel changed.
|
See Also
Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.Services Namespace