dotnet / dotnet/winforms

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

Open
#14,109 4 comments 1 reaction 2 assignees Claimed by @SimonZhao888 View on GitHub
area-DarkMode
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
1d 13m
Merged PRs (30d)
85

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.