[]
        
(Showing Draft Content)

C1.Win.Ribbon.RibbonColorPickerItem.GetColorIndex

GetColorIndex Method

GetColorIndex(Color)

Returns the color index from the palette.

Declaration
public int GetColorIndex(Color color)
Parameters
Type Name Description
Color color

Primary or secondary color.

Returns
Type Description
int

The color index from the palette.