Color |
public class ColorSetManager : StyleListManagerBase<IColorSet, NamedColor, ColorSetManagerEntryValue>
The ColorSetManager type exposes the following members.
| Name | Description | |
|---|---|---|
| BuiltinDarkPlotColors | Gets the builtin set of dark plot colors. | |
| BuiltinDefault |
Gets the builtin default list.
(Inherited from StyleListManagerBaseTList, TItem, TListManagerEntry) | |
| BuiltinKnownColors | Gets the builtin set of known colors. | |
| DeserializationRenameDictionaryKey |
Gets a string that is used as a key in the property dictionary of the deserialization info to get the renaming dictionary.
The renaming dictionary is a dictionary that maps original list names to the new list names that some of the deserialized lists are renamed to.
(Inherited from StyleListManagerBaseTList, TItem, TListManagerEntry) | |
| Instance | Gets the (single) instance of this class. |
| Name | Description | |
|---|---|---|
| ContainsList |
Determines whether the specified name contains a list (style) with the provided name.
(Inherited from StyleListManagerBaseTList, TItem, TListManagerEntry) | |
| CreateNewList |
Creates a new standard list of items.
(Overrides StyleListManagerBaseTList, TItem, TListManagerEntryCreateNewList(String, IEnumerableTItem)) | |
| DeclareAsPlotColorList | Marks the specified color set as a plot color set. | |
| EhDeserializationInfoCreated |
Initializes the deserialization property dictionary for list renaming.
(Inherited from StyleListManagerBaseTList, TItem, TListManagerEntry) | |
| EhProjectClosed |
Called when the current project is closed. Removes all those list which are project lists.
(Inherited from StyleListManagerBaseTList, TItem, TListManagerEntry) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetAllListNames |
Gets the names of all entries (styles) in the list.
(Inherited from StyleListManagerBaseTList, TItem, TListManagerEntry) | |
| GetDeserializedColorFromBuiltinSet | Creates a deserialized color that belongs to a built-in color set. | |
| GetDeserializedColorFromLevelAndSetName | Resolves a deserialized color from its color set name. | |
| GetDeserializedColorWithNoSet | Resolves a deserialized color that has no associated color set. | |
| GetEntryValue |
Gets the manager entry with the specified name.
(Inherited from StyleListManagerBaseTList, TItem, TListManagerEntry) | |
| GetEntryValues |
Gets all manager entries with their concrete entry type.
(Inherited from StyleListManagerBaseTList, TItem, TListManagerEntry) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetList |
Gets the list (style) with the provided name.
(Inherited from StyleListManagerBaseTList, TItem, TListManagerEntry) | |
| GetListLevelName |
Gets the display name for a definition level.
(Inherited from StyleListManagerBaseTList, TItem, TListManagerEntry) | |
| GetParentList |
Gets the parent list of the item
(Overrides StyleListManagerBaseTList, TItem, TListManagerEntryGetParentList(TItem)) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| GetUnusedName |
Generates a name that is not yet used by any registered list.
(Inherited from StyleListManagerBaseTList, TItem, TListManagerEntry) | |
| InternalTryRegisterList |
Try to register the provided list.
(Inherited from StyleListManagerBaseTList, TItem, TListManagerEntry) | |
| IsPlotColorSet | Determines whether the specified color set is marked as a plot color set. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| OnListAdded |
Raises notifications after a list has been added.
(Inherited from StyleListManagerBaseTList, TItem, TListManagerEntry) | |
| OnListChanged |
Raises notifications after a list has changed.
(Inherited from StyleListManagerBaseTList, TItem, TListManagerEntry) | |
| OnUserDefinedListAddedChangedRemoved |
Handles changes to user-defined lists.
(Overrides StyleListManagerBaseTList, TItem, TListManagerEntryOnUserDefinedListAddedChangedRemoved(TList)) | |
| SwitchItemDefinitionLevelBetweenUserAndProject |
Switches the item definition level between user and project, i.e. a list that was at user level before is switched to project level,
and a list that was at project level before is switched to user level.
(Inherited from StyleListManagerBaseTList, TItem, TListManagerEntry) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| TryFindColorSetContaining(AxoColor, IColorSet) | Tries to find a color set that contains the specified color value. | |
| TryFindColorSetContaining(AxoColor, String, IColorSet) | Tries to find a color set that contains the specified color value and name. | |
| TryGetColorByHierarchicalName | Tries to get a named color by its hierarchical name. The name can either consist of two elements: ListName/ItemName, or of three elements ItemLevel/ListName/ItemName. Separator char is either forward slash or backslash. | |
| TryGetItemByHierarchicalName |
Tries to get a item by its hierarchical name. The name can either consist of two elements: ListName/ItemName, or of
three elements ItemLevel/ListName/ItemName. Separator char is either forward slash or backslash
(Inherited from StyleListManagerBaseTList, TItem, TListManagerEntry) | |
| TryGetList |
Tries to get the manager entry with the specified name.
(Inherited from StyleListManagerBaseTList, TItem, TListManagerEntry) | |
| TryGetListByMembers |
Try to find an existing list by using only the values of the items. A hint to the name of the existing list can speed up the search, but is not used otherwise.
(Inherited from StyleListManagerBaseTList, TItem, TListManagerEntry) | |
| TryRegisterList(TList, ItemDefinitionLevel, TList) |
Try to register the provided list.
(Inherited from StyleListManagerBaseTList, TItem, TListManagerEntry) | |
| TryRegisterList(IXmlDeserializationInfo, TList, ItemDefinitionLevel, TList) |
Try to register the provided list. This function is intended to be used during deserialization. It keeps track of when a list was renamed, and stores
this information in the deserialization info to be used by the members of the list during deserialization.
(Inherited from StyleListManagerBaseTList, TItem, TListManagerEntry) | |
| TryRegisterList(String, IEnumerableTItem, ItemDefinitionLevel, FuncString, IEnumerableTItem, TList, TList) |
Try to register the provided list.
(Inherited from StyleListManagerBaseTList, TItem, TListManagerEntry) |
| Name | Description | |
|---|---|---|
| Changed |
Occurs when a list is added to the manager. The event is hold weak, thus you can safely add your handler without running in memory leaks.
(Inherited from StyleListManagerBaseTList, TItem, TListManagerEntry) |
| Name | Description | |
|---|---|---|
| _allLists |
Dictionary of all existing lists. Key is the list name. Value is a tuple, whose boolean entry designates whether this is
a buildin or user list (false) or a project list (true).
(Inherited from StyleListManagerBaseTList, TItem, TListManagerEntry) | |
| PropertyKeyUserDefinedColorSets | Property key used to persist user-defined color sets. |