Skip to content

Combobox controls still render in BackColor/ForeColor after setting Enabled to False in NET11 VisualStylesMode #14797

Closed

Description

@Zheng-Li01

.NET version

.NET 11.0.100-preview.7.26365.114 + Private dlls built from .NET 11/Integration-4 branch of https://github.com/KlausLoeffelmann/winforms repo

Did it work in .NET Framework?

Not tested/verified

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

Not support, new feature of #14768

Issue description

The Combobox still have BackColor/ForeColor after setting the Enable as False in NET11 mode

Image

Steps to reproduce

  1. Create a WinForms application targeting .NET 11
  2. Set VisualStylesMode = VisualStylesMode.Net11
  3. Add a ComboBox control on the Form1.cs[Design] page
  4. Setting the BackColor/ForeColor for the combobox1
  5. Setting the Enable as False for the combobox1
  6. Build & run the project

Activity

  1. added
    untriaged
    NewApi-Net11
    on Jul 21, 2026
  2. changed the title [-][VisualStylesMode: Net11] The Combobox still have BackColor/ForeColor after setting the Enable as False in NET11 mode[/-] [+]Combobox controls still render in BackColor/ForeColor after setting Enabled to False in NET11 VisualStylesMode[/+] on Jul 21, 2026
  3. added
    📚 documentation
    design-discussion
    and removed
    untriaged
    on Jul 21, 2026
  4. added
    rendering-or-artifacts-issues
    on Jul 21, 2026
  5. Amy-Li03 commented on Aug 13, 2026

    @Amy-Li03
    Contributor

    Tested on .NET 11.0.100-rc.1.26411.119, issue was fixed, ComboBox renders correctly after setting Enabled to False.

    Light Mode:
    Image

    Dark Mode:
    Image

  6. added this to the 11.0-rc1 milestone on Aug 13, 2026
  7. Olina-Zhang commented on Aug 27, 2026

    @Olina-Zhang
    Member

    Tested in .NET 11 RC1 test pass build: 11.0.100-rc.1.26425.128, it has the same validation result as above.

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

Metadata

Metadata

Assignees

Labels

📚 documentationNewApi-Net11design-discussionrendering-or-artifacts-issues

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions