Adds a copy of the given Coloring with a new display name.
Namespace: Spotfire.Dxp.Application.Visuals.ConditionalColoringAssembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 18.10.8513.5432 (18.10.8513.5432)
Syntax
Parameters
- template
- Type: Spotfire.Dxp.Application.Visuals.ConditionalColoring Coloring
Template to copy.
- preferredName
- Type: System String
The preferred display name that the copy should have. If this name is not unique withing the collection, the added Coloring will have a name that is slightely modified.
Return Value
Type: ColoringA copy of the provided template that has been inserted to this collection.
Exceptions
Exception | Condition |
---|---|
System ArgumentNullException | Thrown if template is null. |
Version Information
See Also