dotnet/winforms

[Dark Mode] Improve visual contrast of the ProgressBar control in dark mode.

Fechada

#11.914 aberto em 19 de ago. de 2024

 (3 comentários) (2 reações) (1 responsável)C# (922 forks)batch import
area-DarkModehelp wanted

Métricas do repositório

Stars
 (4.100 estrelas)
Métricas de merge de PR
 (Mesclagem média 14d 22h) (56 fundiu PRs em 30d)

Description

.NET version

9.0.0-rc.1.24414.1 + build private dll form winforms repo main branch

Did it work in .NET Framework?

No

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

This is a new feature Dark Mode: https://github.com/dotnet/winforms/pull/11857

Issue description

The rest of part for ProgressBar control is invisible on DarkMode GetImage

Steps to reproduce

  1. Create a WinForms .NET Core application with ProgressBar control.
  2. Enable DarkMode by Application.SetColorMode(SystemColorMode.Dark) in Program.cs file.
  3. Set the Value as "78"
  4. Run the application.

Guia do colaborador