dotnet/winforms

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

Chiusa

#11.914 aperta il 19 ago 2024

 (3 commenti) (2 reazioni) (1 assegnatario)C# (922 fork)batch import
area-DarkModehelp wanted

Metriche repository

Star
 (4100 stelle)
Metriche merge PR
 (Merge medio 14g 22h) (56 PR mergiate in 30 g)

Descrizione

.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.

Guida contributor