alexrait
alexrait

Reputation: 417

PropertyGrid is not displayed properly with .NET 5

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.

Upvotes: 4

Views: 567

Answers (1)

Simon Mourier
Simon Mourier

Reputation: 139226

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.

Upvotes: 5

Related Questions