C# WinForms DataGridView background color rendering too slow

后端 未结 5 1731
挽巷
挽巷 2021-02-20 14:52

I\'m painting my rows in a DataGridView like this:

private void AdjustColors()
    {            
        foreach (DataGridViewRow row in aufgabenDataGridView.Row         


        
5条回答
  •  孤独总比滥情好
    2021-02-20 15:31

    don't try row format as row.defaultcellstyle

    try individual cell formatting in ufgabenDataGridView_CellFormatting

    cell[0].style.backcolor=color.yellow

提交回复
热议问题