Hi,
I am using the AutoFilter in my DataGridView. However, the Font size for it is too large.
How can I reduce it?
Here's my code...
Code:
dataGridView1.ColumnHeadersDefaultCellStyle.BackColor = Color.FromArgb(176, 196, 222);
dataGridView1.DefaultCellStyle.BackColor = Color.WhiteSmoke;
dataGridView1.DefaultCellStyle.Font = new Font("Verdana", 8);
dataGridView1.DefaultCellStyle.ForeColor = Color.DarkSlateBlue;
dataGridView1.AlternatingRowsDefaultCellStyle.BackColor = Color.White;
dataGridView1.ColumnHeadersDefaultCellStyle.Font = new Font("Verdana", 8);
dataGridView1.ColumnHeadersDefaultCellStyle.ForeColor = Color.White;
dataGridView1.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleLeft;
What do I need to add/alter?
Thanks.