A
Alex K.
Hi all
No matter how hard I try, I cannot force my DataGridView to use specific
font in column headers: it seems to be always the same as container's font
(which is form in my case).
I set styles:
ColumnHeadersDefaultCellStyle
DefaultCellStyle
and even
AlternatingRowsDefaultCellStyle
and
RowsDefaultCellStyle
making sure thay all use specific font /size, but at run time column headers
appear in sans serif 10pt, which is the same as form's font.
What's wrong?
Is it because I am assigning DataSource on the fly without adding columns at
design time?
Thank you
No matter how hard I try, I cannot force my DataGridView to use specific
font in column headers: it seems to be always the same as container's font
(which is form in my case).
I set styles:
ColumnHeadersDefaultCellStyle
DefaultCellStyle
and even
AlternatingRowsDefaultCellStyle
and
RowsDefaultCellStyle
making sure thay all use specific font /size, but at run time column headers
appear in sans serif 10pt, which is the same as form's font.
What's wrong?
Is it because I am assigning DataSource on the fly without adding columns at
design time?
Thank you