Collection class used to store templates used for coloring in visualizations. In a document, the template collection
can be accessed at ColoringTemplates.
Inheritance Hierarchy
Spotfire.Dxp.Framework.DocumentModelNode
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: 30.0.10915.3380 (30.0.10915.3380)
Syntax
C#
[SerializableAttribute] [PersistenceVersionAttribute(6, 0)] public sealed class ColoringTemplateCollection : DocumentNode, IEnumerable<Coloring>, IEnumerable
The ColoringTemplateCollection type exposes the following members.
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.
|
![]() | TryGetValue |
Tries to get the Coloring with the specified name, returning true upon success.
|
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.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() | IServiceProviderGetService |
Implements IServiceProvider.
(Inherited from Node.) |
![]() ![]() | INodeContextGetAncestorT |
Implements GetAncestorT.
(Inherited from DocumentNode.) |
![]() ![]() | INodeContextGetServiceT |
Implements GetServiceT.
(Inherited from DocumentNode.) |
![]() ![]() | INodeContextIsDescendantOf |
Implements IsDescendantOf(DocumentNode).
(Inherited from DocumentNode.) |
![]() ![]() | ITransactionsBeginAggregatedTransaction |
Implements BeginAggregatedTransaction.
(Inherited from DocumentNode.) |
![]() ![]() | ITransactionsExecuteInvisibleTransaction |
Implements ExecuteInvisibleTransaction(Executor).
(Inherited from DocumentNode.) |
![]() ![]() | ITransactionsExecuteStickyTransaction |
Implements ExecuteStickyTransaction(Guid, Executor).
(Inherited from DocumentNode.) |
![]() ![]() | ITransactionsExecuteTransaction |
Implements ExecuteTransaction(Executor).
(Inherited from DocumentNode.) |
Version Information
See Also