ComponentOne Extended Library for UWP
IndexOf Method

C1.UWP.Extended Assembly > C1.Xaml.Extended Namespace > ColorPalette Class : IndexOf Method
Searches for the specified color in the palette and returns a zero-based index of the found entry.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal color As Windows.UI.Color _
) As System.Integer
public System.int IndexOf( 
   Windows.UI.Color color
)

Parameters

color
See Also

Reference

ColorPalette Class
ColorPalette Members