ComponentOne Extended Library for WPF and Silverlight
IndexOf Method (ColorPalette)

C1.WPF.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 Color _
) As Integer
public int IndexOf( 
   Color color
)

Parameters

color
See Also

Reference

ColorPalette Class
ColorPalette Members