DatagridView

L

Lou

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
 
C

Cor Ligthert[MVP]

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
 
L

Lou

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
 

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

Top