-1

我想自定义 dataGridView 单元格的大小,我该怎么做?我想增加单元格的高度

4

1 回答 1

0

这是我正在使用的示例:

    .Grid td { //these are data cells
        background-color: #d7e1e5;
        color: black;
        font-size: 10pt;
        line-height: 200% // Adjust the height here
    }

    .Grid th { //Header cells
        background-color: #007FFF;
        color: White;
        font-size: 10pt;
        line-height: 200% // Adjust the height here
    }
于 2017-12-31T23:22:40.820 回答