To change a cell to ColorEdit cell, you can set the CellType to ColorEdit and the Text property to some appropriate color value. The color object can be retrieved from the ColorEdit cell by converting its type of the Text from string to Color by using the ConvertFromString() method of the TypeDescriptor.GetConverter().
The following screenshot illustrates the output.
Figure 1: CellType property set to ColorEdit
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|