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: 66.0.19621.1485 (66.0.19621.1485)
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.
|
![]() | 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
Supported in: 14.4, 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also