Skip to content

[DarkMode] Dark Mode breaks Visual Basic App Framework enabled classic VisualStyles #11910

@KlausLoeffelmann

Description

@KlausLoeffelmann

.NET version

Visual Styles cannot be enabled any longer in .NET 9.

Did it work in .NET Framework?

Yes

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

Yes, in all of them.

Issue description

By default, (classic) Visual Styles are enabled in the Visual Basic Application Framework. This is also reflected by the Application Framework Project System Property Pages. Enabling or Disabling Visual Styles has no impact for Visual Basic Application Framework Apps.

Steps to reproduce

  • Create a new .NET 9 VB App Framework WinForms App.
  • Alternatively, load an existing VB App.
  • Make sure in the Project Property Pages, that Visual Styles are activated.
  • Confirm, in Application.MyApp that the settings from the UI got applied and the correct code got code-generated.
  • Run the App.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions