Represents a color rule for categorical coloring.
Inheritance Hierarchy
Node
Spotfire.Dxp.Framework.DocumentModelDocumentNode
Spotfire.Dxp.Application.Visuals.ConditionalColoringColorRule
Spotfire.Dxp.Application.Visuals.ConditionalColoringCategoricalColorRule
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(10, 10)] public sealed class CategoricalColorRule : ColorRule
The CategoricalColorRule type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Context |
Gets the context of this node.
(Inherited from DocumentNode.) | |
| Count |
Gets the number of explicitly mapped categories.
| |
| IsAttached |
Gets a value indicating whether this node is attached.
(Inherited from DocumentNode.) | |
| ItemObject |
Gets or sets the color for a category.
| |
| ItemCategoryKey |
Gets or sets the color for a category.
| |
| ManualDisplayName |
Gets or sets the display name. If set to null, the ColorRule will be represented with an auto-generated name.
(Inherited from ColorRule.) | |
| Transactions |
Gets a collection of methods for executing transactions on the document.
(Inherited from DocumentNode.) |
Methods
| Name | Description | |
|---|---|---|
| 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.) | |
| GetExplicitCategories |
Gets all explicitly mapped categories.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| SetColors |
Sets the colors to be used in this categorical color rule.
This resets this CategoricalColorRule to only use the given colors.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Explicit Interface Implementations
Version Information
See Also