Table of Contents

Method GetColorIndex

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

GetColorIndex(Color?)

Gets the index of the specified color in the list of colors.

public virtual int GetColorIndex(Color? color)

Parameters

color Color

The color to find the index of.

Returns

int

The index of the specified color, or -1 if the color is not found.