Adds a copy of the given Coloring with a new display name.
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#
public Coloring AddCopy( Coloring template, string preferredName )
Parameters
- template
- Type: Spotfire.Dxp.Application.Visuals.ConditionalColoringColoring
Template to copy. - preferredName
- Type: SystemString
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 |
---|---|
ArgumentNullException | Thrown if template is null. |
Version Information
See Also