Hey Guys,
I've been trying to alter the font of the column header text. (Bold it if the column is required) based on a flag in the data. This must be done once the data has been loaded, and the requiredness of fields will change.
So 2 questions.....
1) Is there a way to set the Header font (bold/not bold) programmatically?
2) What event should I be using to capture databinding?
The obvious DataBindingComplete event is not firing when I execute this code: DataGridView1.DataSource = list;
BindingContextChanged is fired multiple times, but when DataGridView1.DataSource is inspected and is always null...
So I'm a bit confused about the events...
thanks!!
I've been trying to alter the font of the column header text. (Bold it if the column is required) based on a flag in the data. This must be done once the data has been loaded, and the requiredness of fields will change.
So 2 questions.....
1) Is there a way to set the Header font (bold/not bold) programmatically?
2) What event should I be using to capture databinding?
The obvious DataBindingComplete event is not firing when I execute this code: DataGridView1.DataSource = list;
BindingContextChanged is fired multiple times, but when DataGridView1.DataSource is inspected and is always null...
So I'm a bit confused about the events...
thanks!!