Extended Library for WPF and Silverlight | ComponentOne
C1.WPF.Extended Namespace / ColorPalette Class / IndexOf Method

In This Topic
    IndexOf Method (ColorPalette)
    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 Color _
    ) As Integer
    public int IndexOf( 
       Color color
    )

    Parameters

    color
    See Also