FarPoint.Win.Spread.CellType.ColorPickerCellType cp = new FarPoint.Win.Spread.CellType.ColorPickerCellType();
cp.AnyColor = true;
cp.CustomColors = new int[] {
255,
190,
50};
cp.Style = FarPoint.Win.Spread.CellType.ColorPickerStyle.BoxedWithText;
cp.DropDown = true;
fpSpread1.ActiveSheet.Cells[0, 0].CellType = cp;
Dim cp As New FarPoint.Win.Spread.CellType.ColorPickerCellType
cp.AnyColor = True
cp.CustomColors = New Integer() {255, 190, 50}
cp.Style = FarPoint.Win.Spread.CellType.ColorPickerStyle.BoxedWithText
cp.DropDown = True
fpSpread1.ActiveSheet.Cells(0, 0).CellType = cp