ComponentOne Ribbon for WinForms
C1.Win.C1Ribbon.4.5.2 Assembly / C1.Win.C1Ribbon Namespace / RibbonColorPalette Class / IndexOf Method

In This Topic
    IndexOf Method (RibbonColorPalette)
    In This Topic
    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