EDIT: I looked at the code. It walks up the visual tree looking for the nearest INavigate parent, but it only does this if there is no root frame (INavigate navigateElement = Window.Current.Content as INavigate), which means it will never do this since there's always a root frame (right?). IMHO it should always prefer the closest INavigate parent, not the root one--or at least have a dependency property setting this as a preference.
Is there a way to do this? I tried the code below but it just targeted the root frame.
EDIT: I looked at the code. It walks up the visual tree looking for the nearest INavigate parent, but it only does this if there is no root frame (INavigate navigateElement = Window.Current.Content as INavigate), which means it will never do this since there's always a root frame (right?). IMHO it should always prefer the closest INavigate parent, not the root one--or at least have a dependency property setting this as a preference.