Table of Contents

Method AddIfMissing

Namespace
Alternet.Maui
Assembly
Alternet.UI.Maui.dll

AddIfMissing(Color?)

Adds the specified color to the list if it is not already present.

public virtual int AddIfMissing(Color? color)

Parameters

color Color

The color to add.

Returns

int

The index of the color in the list.