Peter17
Peter17

Reputation: 3092

Why DataGridView has gray strips?

Why this DataGridView control has a gray strips? How can I overcome this problem?

enter image description here

Upvotes: 0

Views: 735

Answers (2)

AjayR
AjayR

Reputation: 4179

Set AutoSizeColumnsMode to "Fill", it will hide the background and fill with cells. Same set AutoSizeRowsMode to "All Cells"

Lets see it fixes

Upvotes: 2

Bhavik Goyal
Bhavik Goyal

Reputation: 2796

You can set the border-color of the datagridview as the required one. Also you can change the background color of the datagridview as you required.

Upvotes: 2

Related Questions