public DataGridViewProgressBarColumn() { // Set the cell template CellTemplate = new DataGridViewProgressBarCell(); // Set the default style padding Padding pad = new Padding( DataGridViewProgressBarCell.STANDARD_HORIZONTAL_MARGIN, DataGridViewProgressBarCell.STANDARD_VERTICAL_MARGIN, DataGridViewProgressBarCell.STANDARD_HORIZONTAL_MARGIN, DataGridViewProgressBarCell.STANDARD_VERTICAL_MARGIN); DefaultCellStyle.Padding = pad; // Set the default format DefaultCellStyle.Format = "## \\%"; }