Skip to content

[VisualStylesMode: Net11] ComboBox becomes corrupted when switching between VisualStylesMode.Classic and VisualStylesMode.Net11 #14773

Description

@Amy-Li03

.NET version

.NET 11.0.100-preview.7.26365.114 + Private dlls built from Net11/Integration-3 branch of https://github.com/KlausLoeffelmann/winforms repo

Did it work in .NET Framework?

Yes

Did it work in any of the earlier releases of .NET Core or .NET 5+?

Not support, new feature

Issue description

A ComboBox may render incorrectly after switching between VisualStylesMode.Classic and VisualStylesMode.Net11 in design time.
The issue is not observed when the application starts directly in either mode
Image

Steps to reproduce

  1. Create a WinForms .NET application
  2. Set VisualStylesMode to Net11.
  3. Add a ComboBox to form designer
  4. Switch to VisualStylesMode.Classic
  5. Observe the ComboBox rendering.

Metadata

Metadata

Labels

🪲 bugProduct bug (most likely)NewApi-Net11Tracks issues for public APIs targeted for .NET 11.

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions