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.DrawingAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3261.0 (4.8.3261.0)
Syntax public NamedColor CoerceParentColorSetToNullIfNotMember()
Return Value
NamedColorIf 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