Skip to content

[Dark Mode]HelpProvider text color is barely visible #11939

Closed

Description

@Liv-Goh

.NET version

9.0.0-rc.1.24418.2 + build private dll from 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: #11857

Issue description

The text color of the helpProvider is barely visible in Dark Mode.

Dark Mode
Screenshot 2024-08-20 160509 (1)

Classic Mode
Screenshot 2024-08-20 160156 (1)

Steps to reproduce

  1. Create a .NET Core WinForms project
  2. Add button and helpProvider to the form
  3. Set button's properties as below
  • HelpString on helpProvider : testing 123
  • ShowHelp on helpProvider : True
  1. Build and run the project
  2. Click the button and press F1 key

Activity

  1. added
    untriaged
    on Aug 20, 2024
  2. added
    area-DarkMode
    tenet-accessibility
    on Aug 20, 2024
  3. added
    help wanted
    and removed
    untriaged
    on Sep 4, 2024
  4. dotnet-policy-service commented on Sep 4, 2024

    @dotnet-policy-service
    Contributor

    This issue is now marked as "help wanted", and we’re looking for a community volunteer to work on this issue. If we receive no interest in 180 days, we will close the issue. To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

  5. removed
    area-DarkMode
    on Oct 15, 2025
  6. LeafShi1 commented on Dec 15, 2025

    @LeafShi1
    Member

    The foreground color was set to -1 (i.e., let HTML Help use the system default).

    clrForeground = new COLORREF(unchecked((uint)-1)), // Ignore

    Using -1 allows the OS to supply the appropriate system colors, and this behavior may automatically improve as Windows evolves its Dark Mode theme in future versions.

  7. added
    area-DarkMode
    and removed
    tenet-accessibility
    on Feb 14, 2026
  8. Zheng-Li01 commented on Jul 3, 2026

    @Zheng-Li01
    Member

    Tested in the latest .NET 11 Preview 7 build: 11.0.100-preview.7.26352.103 + built private dls from the main branch of Winforms repo, it was fixed in DarkMode:

    Image
  9. locked and limited conversation to collaborators on Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-DarkModehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions