Remove invalid Fluent DataGridColumn styles#9757
Merged
dipeshmsft merged 5 commits intodotnet:mainfrom Oct 10, 2024
MitchRazga:disable-invalid-fluent-styles
Merged
Remove invalid Fluent DataGridColumn styles#9757dipeshmsft merged 5 commits intodotnet:mainfrom MitchRazga:disable-invalid-fluent-styles
dipeshmsft merged 5 commits intodotnet:mainfrom
MitchRazga:disable-invalid-fluent-styles
Conversation
dipeshmsft
previously approved these changes
Oct 4, 2024
h3xds1nz
reviewed
Oct 4, 2024
src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/DataGrid.xaml
Outdated
Show resolved
Hide resolved
added 2 commits
October 5, 2024 09:12
MitchRazga
commented
Oct 4, 2024
src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Themes/Fluent.Dark.xaml
Outdated
Show resolved
Hide resolved
Contributor
Author
@dotnet-policy-service agree |
dipeshmsft
approved these changes
Oct 10, 2024
Member
|
Thanks @MitchRazga for bringing up this issue and for the fix. |
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Fixes #9755
Description
Removes invalid Fluent DataGridColumn styles
Customer Impact
Would be good to fix this before .NET 9 releases so that existing codebases can have a smoother transition to new Windows 11 themes
Regression
No
Testing
Now able to iterate through theme resources without any exceptions
Risk
Minimal
Does not look like these styles are referenced anywhere else.
Likely just something that was missed when the resource dictionaries were ported from WPF UI.
Documentation confirms in multiple places that only FrameworkElement or derived types can have styles for example
Microsoft Reviewers: Open in CodeFlow