Home > Net >  Winfrom DataGridView dynamically modify the cell style does not take effect
Winfrom DataGridView dynamically modify the cell style does not take effect

Time:10-08

I want to "test results" that a list of the font color, change into the corresponding "red" or "green", but it doesn't take effect, the code is as follows:

CodePudding user response:

Color Settings in the event set a try
dataGridView1_DataBindingComplete

CodePudding user response:

You can try StyleSelector.
  •  Tags:  
  • C#
  • Related