Hide grid lines in a DataGridView

  • Thread starter Thread starter autenzio
  • Start date Start date
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
 
Dear Arthur,

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

chanmm
 
Back
Top