怎么写 某一个单元格内字体的颜色
dataGridView1.DefaultCellStyle.ForeColor = Color.Blue; 是全部字体的颜色 如果是 一个单元格内字体的颜色 怎么写?
还有那些属性 如 字体 大小 ...
谢谢 各位大虾
[解决办法]
this.dataGridView1.CurrentCell.Style.ForeColor = Color.Red;
或者是this.dataGridView1[0,0].Style.ForeColor=Color.Red
[解决办法]
dataGridView1[i,j].Style.ForeColor
[解决办法]
this.dataGridView1.Rows[i].Cells[j].Style
这个下面会有你要的各种style设定