-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
ThemeVariant property definitions to ThemeVariantScope + fix DataGrid theme variant switch #10149
Conversation
…ty definitions to ThemeVariantScope
You can test this PR using the following package version. |
You can test this PR using the following package version. |
I never did get through the original PR. Just noticed this though: /// <summary>
/// Specifies a UI theme variant that should be used for the
/// </summary>
[TypeConverter(typeof(ThemeVariantTypeConverter))]
public sealed record ThemeVariant
Anyway, just added this here since you are making some fixes. I can delete and create a new issue if you want. |
Thanks, will fix that later.
"record class" and "record" is the same thing. Unlikely "record struct" which is different.
No, record will use user defined Equals method. I did double check this.
Tbh, initially when I wrote this class, there was more benefits of using record. But then I changed much.
|
Merge queue setting changed
You can test this PR using the following package version. |
You can test this PR using the following package version. |
You can test this PR using the following package version. |
What does the pull request do?
Fixes: #10292 - Popup wasn't properly inheriting theme variant from the placement target
Fixes: #10201 - Workaround for #10345, default value of actual theme now is "null" instead of "Light" (correct value is inherited)
Fixes: #9410 - Fluent DataGrid theme wasn't using theme dictionaries
Fixes: #10319 - Some Simple control themes that were ported from Fluent had the same problem as DataGrid, but instead I simplified them to be in-line with other simple control themes.
Fixes: #10309 - Invalid property name registration was breaking bindings.
Also seem to fix #10110