Closed
Description
.NET version
.NET SDK 9.0.100-rc.1.24415.1 + build private dlls from winforms repo release/9.0 branch
Did it work in .NET Framework?
No
Did it work in any of the earlier releases of .NET Core or .NET 5+?
No, this is a new feature Dark Mode: #11857
Issue description
Form's FormBorderColor property value always is Black although has changed it to another color value.
Actual result:
The value is 'Black' in textbox control.
Expected result:
The value should be 'Green' in textbox control.
More info:
This issue occurs in FormCaptionBackColor and FormCaptionTextColor properties too.
Steps to reproduce
- Launch the FormBorderColor-TestApp.zip project in VS and run it.
- Observe the value in textbox control.