Dynamic resources are not applied issue for the layouts in .NET MAUI #16277
Labels
area-layout
StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter
platform/windows 🪟
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
When attempting to use dynamic resource binding to set properties of a layout that is a child of the ContentView, an issue arises. The problem is that the parent reference of the layout becomes null.
Below code snippet is used to reproduce the issue.
Code
Steps to Reproduce
1 Create an instance of the DemoClass in the application.
2. Use the DemoClass instance to set up a ContentView that contains the child layout, e.g., a Grid.
3. Attempt to apply dynamic resource binding on properties of the child layout (e.g., Grid) from within the DemoClass.
Link to public reproduction project repository
GaugeDynamicBinding.zip
Version with bug
7.0.49
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows : Windows 10 Enterprise 10.0.19044
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: