Skip to content

CheckBox and RadioButton ignore explicit BackColor values in VisualStylesMode.Net11 #14859

Closed

Description

@Amy-Li03

.NET version

.NET 11.0.100-rc.1.26404.113

Did it work in .NET Framework?

Not tested/verified

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

Yes, it works before #14753 fixed

Issue description

When Application.VisualStylesMode is set to VisualStylesMode.Net11, CheckBox and RadioButton no longer honor explicitly assigned BackColor values.
The issue reproduces both at design time and runtime. Even when a non-default color (for example, Color.Aqua) is assigned to the control, the background continues to be rendered using the parent container's background color.
This behavior differs from VisualStylesMode.Classic, where the assigned BackColor is rendered correctly.

Image Image

Steps to reproduce

  1. Create a WinForms application targeting .NET 11
  2. Enable VisualStylesMode to Net11
  3. Add a CheckBox and a RadioButton to the form.
  4. Set their BackColor property
  5. Run the application

Activity

  1. added
    untriaged
    NewApi-Net11
    on Aug 6, 2026
  2. self-assigned this
    on Aug 7, 2026
  3. removed
    untriaged
    on Sep 4, 2026
  4. Olina-Zhang commented on Sep 4, 2026

    @Olina-Zhang
    Member

    Verified in the .NET 11 RC2 build: 11.0.100-rc.2.26453.107 + private dlls built from main branch of Winforms repo, it was fixed:

    Image
  5. added this to the 12.0-preview1 milestone on Sep 4, 2026
  6. Zheng-Li01 commented on Sep 23, 2026

    @Zheng-Li01
    Member

    Verified the issue with .NET 11 Oct 2026 Update Validation test pass build .NET 11.0.0-RC.2.26427.104, the issue has been fixed that have the same test results as above.

  7. locked and limited conversation to collaborators on Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

NewApi-Net11

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions