Hello, I am finishing up my first C# application and I have one wrinkle to iron out. My form has a number of controls at the top but the majority of the area is filled with 3 datagridview controls. The datagridviews were dragged on and sized in the design view. My issue is at runtime if I resize the form the datagridviews stay the same size, I would like them to change to continue to fill the space available. I don't know what this is called. I have looked at resize and autosize but they don't seem to be what I need. I also looked a docking but that did not help. Can someone point me to information on how to accomplish resizing the datagridviews with the form size at runtime? Thanks for any information or help.

try Anchor property of the DataGridView.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.