Hiding background on a datagridview

falled

Member
Joined
Sep 16, 2006
Messages
20
Programming Experience
Beginner
Hello people!!!

Anyone know how to hide the dark grey part on a datagrid view??

I only could hide the Vertical part changing AutosizeColumnsMode to fill, but no the hortizontal
 
Set the BackgroundColor to SystemColors.Control or same as its container and set Borderstyle to None. Doing this you don't have to set AutosizeColumnsMode.
 
Back
Top