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