Hide grid lines in a DataGridView

A

autenzio

I want to use alternating row colors in my DataGridView object and I
also want to turn off grid lines. This is possible in the DataGrid
class, but I can't seem to find a way to do it in the DataGridView.
Anyone have an answer for this one?

Thanks,

Arthur
 
C

chanmm

Dear Arthur,

You can set alternating row color in the properties sheet -> Appearance ->
AlternatingRowsDefaultCell.
Off the grid: properties sheet -> Appearance -> CellBorderStyle

chanmm
 

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