// Override the Clone method so that the Enabled property is copied.
        public override object Clone()
        {
            DataGridViewDisableButtonCell cell =
                (DataGridViewDisableButtonCell)base.Clone();

            cell.Enabled = Enabled;
            return(cell);
        }
 public DataGridViewDisableButtonColumn()
 {
     CellTemplate = new DataGridViewDisableButtonCell();
 }