You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Dark Mode] TabControl is not in dark mode after enabled SystemColorMode.Dark #11953
This is probably the largest shortcoming of the current dark-mode implementation which greatly reduces the usefulness of the feature.
Do you mean the Tab Control or all Controls that do not have dark mode Completely applied?
The Tab control can easily have dark mode but there are other Controls that are hard to have dark mode.
99% from issues that is labeled with area-Darkmode I experienced it before .
So I need to have a good discussion here about what is easy to get in dark mode, what is moderately applicable in dark mode and what is hard to get in dark mode.
Do you think open an draft pull request is sufficient? or I need to Open discuss also?
Do you think open an draft pull request is sufficient? or I need to Open discuss also?
This is Tab Control that is have dark mode with One line Of code
🔥
Being able to visualise the required change is always very helpful (so having a draft PR is 👍).
If these are simple fixes (e.g., a one-liner) then there's a chance the team may be able to take into the .NET 9 release. It's for team to decide though (I'm no longer a part of this team).
Do you think open an draft pull request is sufficient? or I need to Open discuss also?
This is Tab Control that is have dark mode with One line Of code
🔥
Being able to visualise the required change is always very helpful (so having a draft PR is 👍). If these are simple fixes (e.g., a one-liner) then there's a chance the team may be able to take into the .NET 9 release. It's for team to decide though (I'm no longer a part of this team).
I Open an draft PR
What do you think about use subclass::class in VisualStyleRenderer
Verified the issue with .NET SDK 10.0.100-preview.7.25380.105 build, the issue has been fixed that TabControl have correct background in dark mode as below screenshot.
Activity
RussKie commentedon Aug 22, 2024
This is probably the largest shortcoming of the current dark-mode implementation which greatly reduces the usefulness of the feature.
memoarfaa commentedon Aug 22, 2024
@RussKie
Do you mean the Tab Control or all Controls that do not have dark mode Completely applied?
The Tab control can easily have dark mode but there are other Controls that are hard to have dark mode.
99% from issues that is labeled with area-Darkmode I experienced it before .
So I need to have a good discussion here about what is easy to get in dark mode, what is moderately applicable in dark mode and what is hard to get in dark mode.
Do you think open an draft pull request is sufficient? or I need to Open discuss also?
@JeremyKuhne, @merriemcgaw.
This is Tab Control that is have dark mode with One line Of code
2024-08-22_19-43-02.mp4
RussKie commentedon Aug 23, 2024
🔥
Being able to visualise the required change is always very helpful (so having a draft PR is 👍).
If these are simple fixes (e.g., a one-liner) then there's a chance the team may be able to take into the .NET 9 release. It's for team to decide though (I'm no longer a part of this team).
memoarfaa commentedon Aug 25, 2024
@RussKie
I Open an draft PR
What do you think about use subclass::class in VisualStyleRenderer
about Tab Control I used
SetWindowTheme(HWND, null, "DarkMode::FileExplorerBannerContainer");Zheng-Li01 commentedon Jul 31, 2025
Verified the issue with .NET SDK 10.0.100-preview.7.25380.105 build, the issue has been fixed that TabControl have correct background in dark mode as below screenshot.

Zheng-Li01 commentedon Aug 1, 2025
Verified issue with .NET SDK 10.0.100-preview.7.25380.108 test pass build, the issue has been fixed, result is same as above.
Amy-Li03 commentedon Aug 7, 2025
Verified issue with .NET SDK 10.0.100-rc.1.25406.102 build, the issue has been fixed, result is same as above.