Click or drag to resize

NamedColorCoerceParentColorSetToNullIfNotMember Method

Tests if this color is still a member of the parent color set, and sets the parent property to null if it is no longer a member of the parent color set.

Namespace: Altaxo.Drawing
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3261.0 (4.8.3261.0)
Syntax
C#
public NamedColor CoerceParentColorSetToNullIfNotMember()

Return Value

NamedColor
If the parent color set is null, or the color is still a member of the parent color set, the color is returned unchanged. Otherwise, a NamedColor with the same color and name but with ParentColorSet set to null will be returned.
See Also