Repository navigation
fix: Generate properties and register names inside resource dictionaries - #7108
Youssef1313 wants to merge 10 commits into
Conversation
df2f2e9 to
8a83ad4
Compare
8bc0502 to
2251258
Compare
05976df to
29d6515
Compare
|
@MartinZikmund Can you rerun the failing check please? (I don't have access to do that myself) |
jeromelaban
left a comment
There was a problem hiding this comment.
Thanks for your contribution!
Can you also add a check that validates that FindName() also works there (Since it's now added to the name scope) ?
| mc:Ignorable="d" | ||
| Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> | ||
|
|
||
| <Page.Resources> |
There was a problem hiding this comment.
In addition to the namescope test, I think you should add a more direct test that runs on all platforms that checks that the Given_NameScope_When_Inside_ResourceDictionary.MyBrush field exists and has the correct value. (You can use x:FieldModifier="public" to make it visible.)
| </ItemGroup> | ||
|
|
||
| <ItemGroup> | ||
| <None Remove="Tests\Windows_UI_Xaml\Given_NameScope_When_Inside_ResourceDictionary.xaml" /> |
There was a problem hiding this comment.
revert the changes to this file
|
Nice work! Can you also try adding an x:Name in a top level ResourceDictionary? I don't think we're validating this. (it should not break, if it does not in WinUI) |
I recall this scenario isn't working and I wasn't able to get it correctly. This PR can be considered as a "partial" fix in this area. |
I think @jeromelaban 's point may not be about lighting up new functionality so much as ensuring we don't introduce a regression. Ie if |
|
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or it will be closed in 10 days. |
|
This PR was closed because it has been stalled for 10 days with no activity. |
GitHub Issue (If applicable): closes #4032 (draft for now as I don't think the fix is simple as this - waiting for CI to see if it catches anything that broke)
PR Type
What kind of change does this PR introduce?
What is the current behavior?
What is the new behavior?
PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Runresults.Other information
Internal Issue (If applicable):