<Grid>
<StackPanel>
<TextBox Width="50" Height="50" Margin="0 10" Focusable="True" TabIndex="0"></TextBox>
<TextBox Width="50" Height="50" Margin="0 10" TabIndex="6"></TextBox>
<TextBox Width="50" Height="50" Margin="0 10 " TabIndex="5"></TextBox>
</StackPanel>
</Grid>
敲Tab键时,焦点的切换顺序会优先切换到TabIndex值更小的上面。