Home > Net >  Winform datagridview to remove the gap between the bottom and form?
Winform datagridview to remove the gap between the bottom and form?

Time:09-18

Need a datagridview static display some data, using the two datagridview to as excel, but space can with empty space between the form and the downside, the blank line does not mean the end of AllowUserToAddRows attribute is set to false, the following figure is I used the two controls, has space between controls, controls and below, also have gap at the bottom of the gap is at the bottom of the panel box color,

CodePudding user response:

DGV anchor set bottom

CodePudding user response:

reference 1st floor Bridge_go response:
DGV anchor set bottom
tried down doesn't work, it still has space between the two DGV

CodePudding user response:

What are you two DGV? Pictures are see

CodePudding user response:

That is the question about which coordinates and width

CodePudding user response:

The margin Settings
  •  Tags:  
  • C#
  • Related