title: Stop keyboard directional navigation jumping out from one usercontrol to another
body: <p>I’ve created very simple layout to show my problem. Basically I have a usercontrol(form) inside of another usercontrol(browse), now I want to be able to cycle through the form with tab and ctrl+tab, which it does. But I noticed that when I press an arrow key on any of the buttons (within the form) it jumps out of the form to the browse. So I set directional navigation for the keyboard to none, but it ignores it and still allows me to navigate with the arrow keys. How do I ensure that I cannot get out of that form with a keyboard?</p>
  
  <p>Here is the xaml</p>
  
  <pre><code>&lt;Window xmlns:wpfApplication1="clr-namespace:WpfApplication1"&gt;
  &lt;Grid&gt;
  &lt;Grid.RowDefinitions&gt;
      &lt;RowDefinition /&gt;
      &lt;RowDefinition /&gt;
      &lt;RowDefinition /&gt;
  &lt;/Grid.RowDefinitions&gt;
  &lt;TextBlock HorizontalAlignment="Center" FontSize="36" Text="This is a browse" /&gt;
  &lt;wpfApplication1:Form Grid.Row="1"/&gt;
  &lt;StackPanel Grid.Row="2"
              HorizontalAlignment="Center"
              Orientation="Horizontal"&gt;
      &lt;Button Height="50" Width="300"&gt;move previous&lt;/Button&gt;
      &lt;Button Height="50" Width="300"&gt;move next&lt;/Button&gt;
  &lt;/StackPanel&gt;
  &lt;/Grid&gt;
  &lt;/Window&gt;
  
  &lt;UserControl x:Class="WpfApplication1.Form"
       Margin="30"
       Background="Gray"
       KeyboardNavigation.ControlTabNavigation="Cycle"
       KeyboardNavigation.DirectionalNavigation="None"
       KeyboardNavigation.TabNavigation="Cycle"&gt;
  &lt;Grid&gt;
  &lt;Grid.RowDefinitions&gt;
      &lt;RowDefinition /&gt;
      &lt;RowDefinition /&gt;
  &lt;/Grid.RowDefinitions&gt;
  &lt;StackPanel HorizontalAlignment="Center" Orientation="Horizontal"&gt;
      &lt;TextBlock VerticalAlignment="Center" Text="First Name:" /&gt;
      &lt;TextBox Width="500"
               Height="50"
               HorizontalAlignment="Left" /&gt;
  &lt;/StackPanel&gt;
  &lt;StackPanel Grid.Row="1"
              Grid.ColumnSpan="2"
              HorizontalAlignment="Center"
              Orientation="Horizontal"&gt;
      &lt;Button Width="200"
              Height="50"
              Content="Save" /&gt;
      &lt;Button Width="200"
              Height="50"
              Content="Close" /&gt;
  &lt;/StackPanel&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p></p>
  
  <p>Thank you :)</p>