This repository has been archived by the owner on May 1, 2024. It is now read-only.
Rework LogicalChildren on Element to better represent visual vs logical children #6106
Labels
4.1.0
regression on 4.1.0
e/4 🕓
4
inactive
Issue is older than 6 months and needs to be retested
t/bug 🐛
t/enhancement ➕
Projects
Description
Titleview was the first version of this but Shell introduced a lot of cases where you will attach a View to an element and it should inherit a lot of features of being a child to that element (css, binding, etc..) but the child should not be drawn by the element
This PR
#6082
Starts the idea but only gets it about 80 percent there
ShellSection also uses this concept
Xamarin.Forms/Xamarin.Forms.Core/Shell/ShellSection.cs
Line 173 in 383fc0d
By differentiating between Items (visual children) and LogicalChildren (things that are just part of a section)
But this idea needs to be better standardized across the framework.
The other advantage here is that it will allow control developers an easy hook point to implement the same behavior. They can attach logical elements to pages or elements and our Framework will auto propagate css, binding, etc.. to those without actually trying to render them
The text was updated successfully, but these errors were encountered: