Skip to content

[Dark Mode] The dotnet line of button is black in DarkMode #15162

Description

@Zheng-Li01

.NET version

.NET 11 11.0.100-rc.2.26470.101-win-x64 build

Did it work in .NET Framework?

Not tested/verified

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

This is a regression, working well on .NET 10.0 build

Issue description

The dotnet line of button is black in DarkMode

Image

Steps to reproduce

  1. Create a .NET Winforms project with a Button control
  2. Set app under Dark mode in program.cs file
    Application.SetColorMode(SystemColorMode.Dark);
  3. Build & run the application
  4. Observe the dotnet line of button after Tab to it

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

💥 regression-previewRegression from a preview releasearea-DarkModeIssues relating to Dark Mode featureuntriagedThe team needs to look at this issue in the next triage

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions