.NET version
.NET 11.0.100-preview.7.26365.114 + Private dlls built from Net11/Integration-4 branch of https://github.com/KlausLoeffelmann/winforms repo
Did it work in .NET Framework?
Not tested/verified
Did it work in any of the earlier releases of .NET Core or .NET 5+?
Not support, new feature of #14792
Issue description
When running in Dark Mode with VisualStylesMode = .NET11, a ToolStripTextBox hosted in a MenuStrip is rendered incorrectly.
Unlike the same control hosted in a ToolStrip, the MenuStrip version displays an unexpected light-colored rectangular area on the right side of the text box. The background is not rendered using the Dark Mode color scheme, resulting in an obvious visual artifact.
Steps to reproduce
- Create a WinForms application.
- Set
VisualStylesMode to NET11.
- Enable Dark Mode.
- Add a
ToolStripTextBox to a MenuStrip.
- Run the application.
.NET version
.NET 11.0.100-preview.7.26365.114 + Private dlls built from Net11/Integration-4 branch of https://github.com/KlausLoeffelmann/winforms repo
Did it work in .NET Framework?
Not tested/verified
Did it work in any of the earlier releases of .NET Core or .NET 5+?
Not support, new feature of #14792
Issue description
When running in Dark Mode with VisualStylesMode = .NET11, a
ToolStripTextBoxhosted in aMenuStripis rendered incorrectly.Unlike the same control hosted in a
ToolStrip, theMenuStripversion displays an unexpected light-colored rectangular area on the right side of the text box. The background is not rendered using the Dark Mode color scheme, resulting in an obvious visual artifact.Steps to reproduce
VisualStylesModetoNET11.ToolStripTextBoxto aMenuStrip.