简体   繁体   中英

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:

在此处输入图像描述

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM