ColoringCollectionGetColoringForCategory Method TIBCO Spotfire 7.6 API Reference
Gets the Coloring instance that is mapped to the specified CategoryKey value, otherwise the default coloring for the category's data type. If no type can be established for the given category, or if no default has been set, null is returned.

Namespace: Spotfire.Dxp.Application.Visuals.ConditionalColoring
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax

C#
public Coloring GetColoringForCategory(
	CategoryKey category
)

Parameters

category
Type: Spotfire.Dxp.Application.VisualsCategoryKey
The category.

Return Value

Type: Coloring
The mapped Coloring instance, the default, or null when no default can be established.
Exceptions

ExceptionCondition
ArgumentNullException Thrown if category is null.
Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference