You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Form.VisualStylesMode cannot be changed from Inherit to Classic in the VS properties window #15012
The Form.VisualStylesMode property cannot be changed from Inherit to Classic through the Visual Studio WinForms Designer Properties window.
When VisualStylesMode is changed from Inherit to Classic in the VS Properties window, the value immediately reverts to Inherit, and no serialization code is generated for VisualStylesMode = Classic.
Other values, including Disabled, Net11, and Latest, can be selected and serialized as expected.
VisualStylesMode_Classic.mp4
The runtime API itself works correctly when the property is set programmatically, or Runtime UI testing:
So the property correctly returns Classic, confirming that the runtime implementation behaves as expected. The issue appears to be limited to the Visual Studio Designer/Property Grid serialization.
Steps to reproduce
Create a new WinForms project targeting .NET 11.
Open the Form in the Visual Studio Designer.
Select the Form.
In the Properties window, locate the VisualStylesMode property.
Verified the issue with .NET 11.0.0-rc.2.26458.109 + private dlls built from main branch of dotnet /winforms repo, the issue has been fixed as below screenshot.
Activity
Zheng-Li01 commentedon Sep 10, 2026
Verified the issue with .NET 11.0.0-rc.2.26458.109 + private dlls built from main branch of dotnet /winforms repo, the issue has been fixed as below screenshot.
15012.mp4
Amy-Li03 commentedon Sep 24, 2026
Verified with .NET 11 Oct 2026 Update Validation test pass build: .NET 11.0.0-RC.2.26473.101, issue has been fixed with above test result.