title: Navigation Service on Another Frame
body: <p>I currently have a program that has a Window containing two frames, one at the top of the screen, similar to a navigation panel where the user can click on different buttons to navigate to areas of the program, which are loaded into the frame below.</p>
  
  <p>The top frame permanently stays the same, i.e. there are buttons saying <code>Questions</code>, <code>Tags</code> and <code>Users</code> for example that do not change. When the user clicks the <code>Questions</code> button they should be taken to the relevant area of the program but within the frame below.</p>
  
  <p>The problem with this is that because they are within the top frame the <code>NavigationService</code> loads the relevant page in the frame at the top, not in the main frame in the centre of the screen.</p>
  
  <p>Is there a way that a button clicked within one frame can cause a different frame to load a different page through the <code>NavigationService</code>? Here is a paint example;</p>
  
  <p><a href="https://i.stack.imgur.com/UzxX3.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UzxX3.jpg" alt="enter image description here"></a></p>
  
  <p>EDIT: To update this question what I originally planned on doing is to have the top frame not in a frame, but in the <code>window</code> itself. However because the <code>window</code> does not inherit from the <code>page</code>, I couldn't use the <code>NavigationService</code>.</p>