ComponentOne Ribbon for WinForms
IndexOf Method (RibbonColorPalette)

C1.Win.C1Ribbon.4 Assembly > C1.Win.C1Ribbon Namespace > RibbonColorPalette 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 System.Drawing.Color _
) As System.Integer
public System.int IndexOf( 
   System.Drawing.Color color
)

Parameters

color
See Also

Reference

RibbonColorPalette Class
RibbonColorPalette Members