Collection class used to store templates used for coloring in visualizations. In a document, the template collection
can be accessed at ColoringTemplates.
Inheritance Hierarchy
Node
Spotfire.Dxp.Framework.DocumentModelDocumentNode
Spotfire.Dxp.Application.Visuals.ConditionalColoringColoringTemplateCollection
Namespace: Spotfire.Dxp.Application.Visuals.ConditionalColoring
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 71.0.22122.5390 (71.0.22122.5390)
Syntax
C#
[SerializableAttribute] [PersistenceVersionAttribute(6, 0)] public sealed class ColoringTemplateCollection : DocumentNode, IEnumerable<Coloring>, IEnumerable
The ColoringTemplateCollection type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Context |
Gets the context of this node.
(Inherited from DocumentNode.) | |
| Count |
Gets the number of items in the collection.
| |
| IsAttached |
Gets a value indicating whether this node is attached.
(Inherited from DocumentNode.) | |
| ItemInt32 |
Gets the Coloring at the given index.
| |
| ItemString |
Gets the Coloring with the given name.
| |
| Transactions |
Gets a collection of methods for executing transactions on the document.
(Inherited from DocumentNode.) |
Methods
| Name | Description | |
|---|---|---|
| AddCopy(Coloring) |
Adds a copy of the given Coloring.
| |
| AddCopy(Coloring, String) |
Adds a copy of the given Coloring with a new display name.
| |
| AddFromLibrary |
Adds the specified color scheme from the library to this ColoringTemplateCollection.
| |
| AddFromStream |
Adds a Coloring to this collection by reading from the given stream. The content of the stream
must be a dxpcolor file.
| |
| AddNew |
Creates a new Coloring and adds it to this collection.
| |
| Clear |
Clears the collection.
| |
| Contains |
Determines whether a Coloring with the given name exists in this collection.
| |
| ForEachNodeInSubTreeTNode |
Applies the specified action to all nodes of the specified type in the subtree spanned
from this node, including this node.
(Inherited from DocumentNode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| RemoveAt |
Removes the item at the given index.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| TryGetValue |
Tries to get the Coloring with the specified name, returning true upon success.
|
Explicit Interface Implementations
Version Information
See Also