DatagridView, setting Font for individual Cells

  • Thread starter Thread starter Martin Streller
  • Start date Start date
M

Martin Streller

Hello,
I'd like to alter the font, including the background and the
foreground color of individual cells for a realtime app'.
this.dataGridView1.ColumnCount = 5;
this.dataGridView1.RowCount = 10;
this.dataGridView1.Rows[2].Cells[3].Value = "hello";
....?

Can someone help ?
Thanks, Martin
 
Correct me if I am wrong but why not address the datagrid through a
style instead or textboxcolumn class.

The vb.net group would be very helpful with this.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top