Helper class to get the property bags in the hierarchy as used in the Altaxo project, and to retrieve property values using this hierarchy.
Inheritance Hierarchy Namespace: AltaxoAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3261.0 (4.8.3261.0)
Syntaxpublic static class PropertyExtensions
The PropertyExtensions type exposes the following members.
Methods | Name | Description |
---|
 | GetProjectFolderPropertyDocuments |
Gets the project folder property documents down the project folder hierarchie.
|
 | GetPropertyBags |
Gets the property bags in the hierarchy. The first bag in the enumeration is the bag that owns the owner. Then the bags of the folders
in which the owner is located, its parent folders, and then UserSettings, ApplicationSettings, and BuiltinSettings follow.
|
  | GetPropertyBagsStartingFromApplicationSettings |
Gets the property bags 'ApplicationSettings' and 'BuiltinSettings' along with the bag information.
|
  | GetPropertyBagsStartingFromFolder |
Gets the property bags in the hierarchy. The first bag in the enumeration is the bag that is a project folder bag belonging to the provided folder name. Then the bags in its
parent folders, and then UserSettings, ApplicationSettings, and BuiltinSettings follow.
|
  | GetPropertyBagsStartingFromUserSettings |
Gets the property bags 'UserSettings, 'ApplicationSettings' and 'BuiltinSettings' along with the bag information.
|
 | GetPropertyContext |
Gets the property context of the document node. If the provided node is not implementing IPropertyBagOwner, the parent nodes of this node are searched,
until a node which implements IPropertyBagOwner is found.
|
  | GetPropertyContextOfProject |
Gets the property bags in hierarchical order. The first bag in the enumeration is the bag that belongs to the project (the project's root folder bag).
Then the bags of the UserSettings, ApplicationSettings, and BuiltinSettings follow.
|
  | GetPropertyContextOfProjectFolder |
Gets the property bags in the hierarchal order. The first bag in the enumeration is the bag is in the provided project folder. Then the bags of
its parent folders, and then UserSettings, ApplicationSettings, and BuiltinSettings follow.
|
 | GetPropertyHierarchy |
Gets the property bags in the hierarchal order. The first bag in the enumeration is the bag that owns the owner. Then the bags of the folders
in which the owner is located, its parent folders, and then UserSettings, ApplicationSettings, and BuiltinSettings follow.
|
  | GetPropertyHierarchyStartingFromApplicationSettings |
Gets the property bags 'ApplicationSettings' and 'BuiltinSettings' stored in a PropertyHierarchy.
|
  | GetPropertyHierarchyStartingFromUserSettings |
Gets the property bags 'ApplicationSettings' 'BuiltinSettings' and 'UserSettings' stored in a PropertyHierarchy.
|
 | GetPropertyValueT(IPropertyBagOwner, PropertyKeyT, FuncT) |
Gets the property value. The property is searched in the provided owner, then in the containing folder, and then the hierarchy down to the built-in property bag.
|
 | GetPropertyValueT(IPropertyBagOwner, String, FuncT) |
Gets the property value. The property is searched in the provided owner, then in the containing folder, and then the hierarchy down to the built-in property bag.
|
  | GetPropertyValueStartingFromApplicationSettingsT |
Gets the property value either from the application settings or from the builtin settings.
|
Top
See Also