Skip to content

[Dark Mode] the tabPage is not in darkmode when setting the Alignment as Left/Right #14109

@Zheng-Li01

Description

@Zheng-Li01

.NET version

latest .NET 10.0 build

Did it work in .NET Framework?

No

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

In .NET 9.0, the tabPage is not in darkmode when setting the Alignment as Left/Right/Top/Bottom
In .NET 10.0, the tabPage is not in darkmode when setting the Alignment as Left/Right, and working well when setting the Alignment as /Top/Bottom

Issue description

In .NET 9.0, the tabPage is not in darkmode when setting the Alignment as Left/Right/Top/Bottom
In .NET 10.0, the tabPage is not in darkmode when setting the Alignment as Left/Right, and working well when setting the Alignment as /Top/Bottom

Image

Steps to reproduce

  1. Create a .NET winforms project with a TabCpntrol control
  2. Setting the Alignment property as Left/Right
  3. Set app under Dark mode in program.cs file
    Application.SetColorMode(SystemColorMode.Dark);
  4. Run the application

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-DarkModeIssues relating to Dark Mode featureuntriagedThe team needs to look at this issue in the next triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions