title: How to navigate cursor with TabIndex by click on button in wpf?
body: <pre><code>&lt;Grid x:Name="LayoutRoot"&gt;
      &lt;Button x:Name="BtnNavigateTabIndex" Content="NavigateTabIndex" Margin="152,200,0,190" HorizontalAlignment="Left" Width="120"/&gt;
      &lt;TextBox x:Name="TextBox_1" HorizontalAlignment="Left" Height="48" Margin="120,64,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="80"/&gt;
      &lt;TextBox x:Name="TextBox_2" HorizontalAlignment="Left" Height="48" Margin="120,128,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="80"/&gt;
      &lt;PasswordBox x:Name="PasswordBox_1" HorizontalAlignment="Left" Height="48" Margin="224,64,0,0" VerticalAlignment="Top" Width="72"/&gt;
      &lt;PasswordBox x:Name="PasswordBox_2" HorizontalAlignment="Left" Height="48" Margin="224,128,0,0" VerticalAlignment="Top" Width="72"/&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p>The design will will be like below.</p>
  
  <p><img src="https://i.stack.imgur.com/hQRQ1.png" alt="enter image description here"></p>
  
  <p>If i click the button(NavigateTabIndex),The cursor should be navigate to TextBox or PasswordBox.
  For EX: If you click the Tab Key in you Keyboard,the cursor would navigate.This is the scenario what i need .</p>