Method AddIfMissing
AddIfMissing(Color?)
Adds the specified color to the list if it is not already present.
public virtual int AddIfMissing(Color? color)
Parameters
color
ColorThe color to add.
Returns
- int
The index of the color in the list.