-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable DarkMode Theming #10985
Closed
Closed
Enable DarkMode Theming #10985
Changes from 1 commit
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
27213f8
First draft of DarkMode implementation.
KlausLoeffelmann fde619f
First draft of Darkmode for ToolStrips.
KlausLoeffelmann 5e08a22
Fix merge issues.
KlausLoeffelmann 36f812e
Implement Form title bar coloring and
KlausLoeffelmann 661e547
Implement DarkMode color table and replace SystemColors by dynamic co…
KlausLoeffelmann 1694d56
Correct Formatting/Merge issues.
KlausLoeffelmann c768e59
Fix rendering ListView ColumnHeaders in wrong text color in dark mode.
KlausLoeffelmann 63c880d
Added more XML comments and refactored the IsDarkModeEnabled logic a …
KlausLoeffelmann 4fd84b6
Update unshipped API list.
KlausLoeffelmann a0842c0
* Enable GroupBox...
KlausLoeffelmann 2fdfb2d
Handle DarkMode ProgressBar.
KlausLoeffelmann 0074857
Ensure that IsDarkModeEnabled always returns a valid result.
KlausLoeffelmann f581657
Fixing merge issues.
KlausLoeffelmann 63e5c87
Introduce DefaultVisualStyleMode.
KlausLoeffelmann 3397820
Introduce VisualStylesMode as ambient property on Control.
KlausLoeffelmann 3eec957
Update XML comments and Description attribute resources for new prope…
KlausLoeffelmann 38bf198
Introduce VisualStylesModeCore.
KlausLoeffelmann 25b1421
Revert "Introduce VisualStylesModeCore."
KlausLoeffelmann cdef2b8
Fix usage of DefaultVisualStylesMode.
KlausLoeffelmann d19f8b9
Update PublicAPI.
KlausLoeffelmann c1c900f
First implementation of setting new NCClient area in TextBox for taki…
KlausLoeffelmann 837ab4f
Add better VisualStylesMode validation.
KlausLoeffelmann d29f2b4
Rename Application.SystemColors to Application.ApplicationColors.
KlausLoeffelmann 0e3825b
Minimize exceptions for control dark mode theming.
KlausLoeffelmann 6ac99e0
First draft of non-client painting of TextBoxBase adorners.
KlausLoeffelmann 92ccc9e
Update logic for vertically aligning a single line TextBox and taking…
KlausLoeffelmann 4737ad9
Update TextBox adorner rendering.
KlausLoeffelmann cfbac62
Address additional property combination for rendering.
KlausLoeffelmann 8d23b76
Add first version of modern CheckBox renderer.
KlausLoeffelmann e4aaa46
Fix some renderer issues.
KlausLoeffelmann b307cb5
Add ToggleSwitch animation.
KlausLoeffelmann ffa5a9a
Introduce Experimental feature WFO9000 - VisualStylesMode.
KlausLoeffelmann 5e9d6e0
Introduce Experimental Feature WFO9001 - DarkMode.
KlausLoeffelmann fd0be10
Edge case bugfixing:
KlausLoeffelmann bab5ef8
Fix CheckBox ToggleSwitch animation issue.
KlausLoeffelmann 2ce0560
Introduce APIs for customizing TextBoxBase adorner painting.
KlausLoeffelmann 71fced4
Address freview feedback.
KlausLoeffelmann 8f285ad
Fix merge issue.
KlausLoeffelmann 042fef3
Refactored out instance DarkMode from Control, introduces ControlSyst…
KlausLoeffelmann 9b42818
Fix animation control renderer issue.
KlausLoeffelmann 51826ea
Improve theming handling.
KlausLoeffelmann 3798c5f
Refactor VisualStyleMode.
KlausLoeffelmann 35c304f
Inplement ControlStyles.ApplyThemingImplicitly.
KlausLoeffelmann c7f8a29
Refactor to reflect results from latest API naming discussion.
KlausLoeffelmann 28bab8f
Fix UpDownBase and dark professional colors.
KlausLoeffelmann 8a46567
Refactor AnimatedControlRenderer to include additional use cases.
KlausLoeffelmann 3740f10
Fix dark mode MenueItem rendering.
KlausLoeffelmann 57431f2
Revert cc99a677.
KlausLoeffelmann ef8412b
Add DarkMode and modern VisualStyles to the Visual Basic App Framework.
KlausLoeffelmann 42ed403
Convert Window control methods into bindable properties.
KlausLoeffelmann 826a6c5
Refactor SystemColors to use UseAlternativeColorSet.
KlausLoeffelmann e841c9f
Fix issues with SystemColors and UseAlternativeColorSet.
KlausLoeffelmann cab1ccf
Refactor dark mode changes based on DiagnosticIDs refactoring.
KlausLoeffelmann 39fd560
Update Multiline TextBox, Scrollbar & Focus Painting.
KlausLoeffelmann 17cb0d4
Address TextBoxBase flicker issues by double-buffering NcPainting.
KlausLoeffelmann c261586
Address review feedback.
KlausLoeffelmann 2acce90
Fix a few Graphics scoping hick-ups.
KlausLoeffelmann 2cfe7b9
Eliminate redundant Pragma warning disables.
KlausLoeffelmann 4e7ac23
Amend VB App Framework infrastructure props attributes.
KlausLoeffelmann bef5954
Perform general PR clean up.
KlausLoeffelmann 9832595
Fix some VisualStyleMode refactoring issues.
KlausLoeffelmann 4a9a108
Fix ref struct issue in release builds.
KlausLoeffelmann 3c5681c
Update TextBoxBase style default settings.
KlausLoeffelmann 2df4dbb
Add enum range checks, fix minor issues.
KlausLoeffelmann c61d0d3
Revert comments mentioning Application.SystemColors.
KlausLoeffelmann 3191e93
Address more review feedback.
KlausLoeffelmann d43855a
Fix CTI backwards compatibility test issues.
KlausLoeffelmann fc8b256
Fix ExperimentalAttrinute url const.
KlausLoeffelmann 7f7c0d0
Address additional feedback review.
KlausLoeffelmann bace995
Fix backwards compat issue in Application.RenderWithVisualStyles.
KlausLoeffelmann cf32e9c
Fix some CTI found issues around the new form border attributes APIs.
KlausLoeffelmann File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How to return to the orignal System default Color with this api?
(DWMWA_COLOR_DEFAULT with value 0xFFFFFFFF)
How to remove 1px border color around Form with this api ?
(DWMWA_COLOR_NONE with value 0xFFFFFFFE)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! I will test and add this to the docs! Nice one - adds real value!