Customizing DataGridView

0

How can I solve this problem when it comes to customizing my DataGridView ? Try modifying default styles, the styles of each Row , and Header , but still appear the same.

Any comments that can help are welcome. Pura Vida from Costa Rica!

    
asked by Marvel 18.09.2018 в 10:39
source

1 answer

2

Remember to assign the property EnableHeadersVisualStyles to apply the styles

dataGridView1.EnableHeadersVisualStyles = false;

then you change the style

DataGridViewCellStyle style = dataGridView1.ColumnHeadersDefaultCellStyle;
style.Font = new Font("Arial", 8.5F, GraphicsUnit.Pixel);
    
answered by 18.09.2018 в 16:18