4

I have a winform project compiled to .NET 4.7.2. It has a PropertyGrid element on the main form and it is displayed well. After migrating to .NET 5, it does not look as expected:

enter image description here

Some text appears on top of the control and to view the value of any property - one has to click on it.

alexrait
  • 407
  • 3
  • 15

1 Answers1

5

This is a (huge) regression with .NET 5.0.4. See here:

"The default value is not displayed in the correct position after setting SelectedObject property for PropertyGird control"

https://github.com/dotnet/winforms/issues/4593

It will be fixed in 5.0.5.

Simon Mourier
  • 132,049
  • 21
  • 248
  • 298