public override object Clone() { DataGridViewProgressCell dataGridViewCell = base.Clone() as DataGridViewProgressCell; if (dataGridViewCell != null) { dataGridViewCell.ProgressBarColor = this.ProgressBarColor; dataGridViewCell.minor = this.minor; dataGridViewCell.major = this.major; dataGridViewCell.minorColor = this.minorColor; dataGridViewCell.majorColor = this.majorColor; dataGridViewCell.footerColor = this.footerColor; dataGridViewCell.headerColor = this.headerColor; } return(dataGridViewCell); }
public DataGridViewProgressColumn() { CellTemplate = new DataGridViewProgressCell(); }