GetColorIndex Method (RibbonColorPickerItem)
Returns the color index from the palette.
public System.int GetColorIndex(
System.Drawing.Color
)
'Declaration
Public Function GetColorIndex( _
ByVal As System.Drawing.Color _
) As System.Integer
Parameters
- color
- Primary or secondary color.
Return Value
The color index from the palette.