removing the empty gray space in datagrid in c# -
How do I remove an empty space, that is, I want the datagrid to automatically resize itself Should not be changed in I know the columns of rows that we can use in the AutoSizeColumnMode fill value, but there is no fill value for AutoSizeRowsMode.
is a bit of a hack but you can try it:
dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control;
BTWV has been here.
Comments
Post a Comment