0
votes

I tried anchor the datagridview to top, left, right and it works fine when its not maximixed, but when i maximize the form and then minimize it again datagridview don't resize.

1
It works on my VS2017 Framework 4.6.1. Have you tried to erase it and add another?user12031933
Doubtful. Have you 'described' your layout fully to us??TaW
Could you please post your code?party-ring
You talk about Window Form?Sovandara LENG

1 Answers

0
votes

You can use Dock property as below:

  • Fill: If you want your datagridview always display in full screen mode.
  • TOP: If you want your datagridview always show at the top.
  • Left: If you want your datagridview always show at the left.
  • Right: If you want your datagridview always show at the right.
  • Bottom: If you want your datagridview always show at the bottom.

I hope this will help you.