-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Open
Copy link
Labels
💥 regression-releaseRegression from a public releaseRegression from a public releasearea-DesignerSupportarea-controls-PropertyGridPropertyGrid and editor related issuesPropertyGrid and editor related issues
Milestone
Description
.NET version
10.0.201
Did it work in .NET Framework?
Not tested/verified
Did it work in any of the earlier releases of .NET Core or .NET 5+?
Yes, 8.0.415
Issue description
We have migrated from .NET 8 to .NET 10.
I have noticed that the PropertyGrid in our DesignSurface implementation no longer displayed our custom PropertyDescriptors.
The difference is the commit 8b346b0
The null check in the SelectViewTabButtonDefault method causes the regression.
Steps to reproduce
See https://github.com/chirndlerks/PropertyGridSelectedTabRegression
In .NET 8.0, the SelectedTab changes on line https://github.com/chirndlerks/PropertyGridSelectedTabRegression/blob/6d3c9243f46619ada7a18b89c5edd298a150ea02/Form1.cs#L62, but not in .NET 10.0
If you uncomment the call to the WorkaroundForDotNet10 method, it will also work under .NET 10
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
💥 regression-releaseRegression from a public releaseRegression from a public releasearea-DesignerSupportarea-controls-PropertyGridPropertyGrid and editor related issuesPropertyGrid and editor related issues