In this tutorial,i’ll show you How to change font size in DataGridView.
Solution 1: Design-time
In winform datagrid, right click to view its properties. It has a property called DefaultCellStyle. Click the ellipsis on DefaultCellStyle, then it will present Cell Style Builder window which has the option to change the font size.
Solution 2: Run-time
1 2 3 |
this.dgvCustomers.DefaultCellStyle.Font = new Font("Tahoma", 12); |