On a Parent > Childs hierarchy, where childs are created and appended dynamically from code I would like to be able to toggle visibility on either individual childs or the whole hierarchy (while I still need to process their geometry, thus not being unable to use display.none).
I noticed that if I enable visibility on the child and then turn it off on its parents, the childs stays visible, I suppose that when I set visibility from code on the child it turn into a override.
Is there a way I can reestablish style inheritance in that case ?
Style inheritance also seems to stop whenever there is a TemplateContainers in the visualtree, is there any way to get it to go through ?