IPropertyService Interface |
Service for getting global and user defined properties for the application.
Namespace: Altaxo.Main.ServicesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3261.0 (4.8.3261.0)
Syntaxpublic interface IPropertyService
The IPropertyService type exposes the following members.
Properties | Name | Description |
---|
 | ApplicationSettings |
Gets the property bag with application settings. These are typically stored in the .addin file.
|
 | BuiltinSettings |
Gets the builtin settings. These are typically hard-coded in the program.
|
 | ConfigDirectory |
Absolute path to the application's config directory.
|
 | DataDirectory |
Absolute path to the application's data directory.
This is the directory where e.g. resources for the application are stored.
|
 | LocalApplicationSettings |
Returns the property bag with local application settings (settings on this computer, global for all users). These are typically stored in the LOCALAPPDATA directory.
This bag is not used by Altaxo (but by other programs).
|
 | UserSettings |
Returns the property bag with user settings. These are typically stored in the user's application settings directory.
|
Top
Methods | Name | Description |
---|
 | GetValueT(PropertyKeyT, RuntimePropertyKind) |
Gets the property value from UserSettings, then ApplicationSettings, then BuiltinSettings.
|
 | GetValueT(String, T) |
Gets the property value from UserSettings, then ApplicationSettings, then BuiltinSettings.
|
 | GetValueT(PropertyKeyT, RuntimePropertyKind, FuncT) |
Gets the property value from UserSettings, then ApplicationSettings, then BuiltinSettings.
|
 | GetValueOrNullT |
Gets the property value from UserSettings, then ApplicationSettings, then BuiltinSettings.
|
 | Save |
Saves the user settings.
|
 | SetValueT(PropertyKeyT, T) |
Sets a value belonging to a property key
|
 | SetValueT(String, T) |
Sets a value associated with a property key.
|
Top
Events | Name | Description |
---|
 | PropertyChanged | Occurs when a property has changed. Argument is the property key. |
Top
See Also