Select elements from Dependent (child) Views & override

Element.OwnerView gets the Parent view because that is the owner view. Child Views are just a cropped version of that view but are really the same (on the front end, the back end they are different).

Are you trying to get an elements owner view then check to see if its a parent view and if so then check to see what child view the element shows up in and swap it out for the parent view?

Check out this bit of code by Amy. It will get you started on getting the child views. From there you would just need to check if the element is visible. Depending on how you views are set up the element may be shown in more than one child view.