I have a pair of controls, let's call them BigDaddy
and Flea
. One or more Flea
elements may appear anywhere in the visual tree of BigDaddy
. Is there any way to detect the adding/removing of Flea
objects on BigDaddy
given that there is no requirement that it be an immediate child?
Example trees:
<my:BigDaddy>
<my:Flea /> <!-- Flea is an immediate child -->
</my:BigDaddy>
-- OR --
<my:BigDaddy>
<SomethingElse>
<Canvas>
<my:Flea />
<!-- Flea is not an immediate child but still needs to be detected -->
</Canvas>
</SomethingElse>
</my:BigDaddy>