title: Frame Navigation without code-behind
body: <p>I am trying to create a navigation-application using Ribbon buttons (or regular buttons). When I try the following code (namespace definitions omitted)</p>
  
  <pre><code>&lt;Window ...&gt;
      &lt;StackPanel&gt;
          &lt;Button Command="NavigationCommands.GoToPage" CommandParameter="/Pages/Welcome.xaml" CommandTarget="{Binding ElementName=MainFrame}"&gt;Click&lt;/Button&gt;
      &lt;Frame x:Name="MainFrame"&gt;&lt;/Frame&gt;
      &lt;/StackPanel&gt;
  &lt;/Window&gt;
  </code></pre>
  
  <p>the button grayed out and doesn't work. Is there anyway possible to achieve this without using code-behind or any framework?</p>