DatagridView

  • Thread starter Thread starter Lou
  • Start date Start date
What?
I don't think that is the method for setting the font size of a DataGrid
column programatically...

For thos who need the answer i did eventually figure it out.
Dim font As New Font( _

dggrid.ColumnHeadersDefaultCellStyle.Font.FontFamily, 10, FontStyle.Bold)



dgGrid.Columns(1).DefaultCellStyle.Font = font
 
Lou,

That is the method for a columnheader font on a DataGrid, not a font in a
DataGrid view column.

In my idea are you making it people who search in this newsgroup on Google
very difficult to find answers doing like you do.

Cor
 
I apologize.
-louie

Cor Ligthert said:
Lou,

That is the method for a columnheader font on a DataGrid, not a font in a
DataGrid view column.

In my idea are you making it people who search in this newsgroup on Google
very difficult to find answers doing like you do.

Cor
 
Back
Top