I think I have dain bramage

  • Thread starter Thread starter Greg Smith
  • Start date Start date
G

Greg Smith

I am attempting to set the font to bold in the header of a DataGridView.

I am drawing a blank at getting the syntax correct. I want to finish this:

gv.ColumnHeadersDefaultCellStyle.Font =



Any help is greatly appreciated.
 
Greg Smith said:
I am attempting to set the font to bold in the header of a DataGridView.

I am drawing a blank at getting the syntax correct. I want to finish this:

gv.ColumnHeadersDefaultCellStyle.Font =


\\\
.... = _
New Font( _
gv.ColumnHeadersDefaultCellStyle.Font, _
gv.ColumnHeadersDefaultCellStyle.Font.Style Or FontStyle.Bold _
)
///
 
Back
Top