Darkmode problem #39
rulai-yinqiang
started this conversation in
General
Replies: 1 comment
-
|
Microsoft is working hard for a Darkmode solution in Windows Forms for the next .NET release (.NET10). When I read some issues or pull requests about Darkmode, then I think it is not an easy way to do it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Normal Form without Ribbon control, I can set the Darkmode with
DwmSetWindowAttribute(frm.Handle, 20, {1}, 4)The Form Title looks good: Background is Balck, Text is White.
But after add a Ribbon control into the form, and set ‘Ribbon1.DarkModeRibbon = True’ , the form title Darkmode changed. Form Title Background is Balck, but Form Text is also Black. So I can not see the Form Text.
My question is In Darkmode, how to set the Form Title Background to Balck, and Text color to White.
Beta Was this translation helpful? Give feedback.
All reactions