public virtual CellBase CreateCell(){ HtmlCell cell = new HtmlCell(); if(CellStyle!=default(HtmlCellStyle)) cell.Style= CellStyle; return cell; }