about changing the fonts and font size in datagrid

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all, I am new to .net compact framework, I want to ask how can i change
the font size and fonts in datagrid as I found that the fonts in the default
datagrid is so bad and the size is too large. Thank you.
 
Hi,

Try this:

With DataGrid1
.Font = New Font("FontName", .Font.Size - 2, .Font.Style)
End With

Replace FontName with any of the font in the \Windows\Fonts folder.
 
Back
Top