1. I bound resources of datagridview through datasource, adding rows in background by traversing dataTable, because there are images so need to modify column width and row height, but modifying several properties in property interface cannot intervene this action, after troubleshooting found, directly modify inside class adding Row works. Below is code:
1
2
3
var dateRow = new DataGridViewRow();
dateRow.Height = 150;
dateRow.CreateCells(this.dataGridView1);

Image Description

  1. Image fill ColumnItem modify Normal to Zoom in properties
    Image Description