我有几个控件,我为要停止的控件设置了 tabindex。我使用模拟器来测试它。在键盘上输入回车键后,光标停留在文本框上。有人会告诉我链接或代码以使其工作吗?提前致谢。
以下是我的控件代码:
<TextBox x:Name="txtUser" Grid.Row="1" Grid.Column="2" IsTabStop="True" TabIndex="1" Style="{StaticResource txtStyle_24}" FontSize="32"   />
 <TextBlock x:Name="Password" Text="Password :" Grid.Row="2" Grid.Column="1"    Style="{StaticResource LabelStyle_24}" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="32" Foreground="{StaticResource PhoneAccentBrush}" />
  <PasswordBox x:Name="psd" PasswordChar="*" Grid.Row="2" Grid.Column="2"   IsTabStop="True" 
                  TabIndex="2"  Style="{StaticResource PasswordBoxStyle_24}" FontSize="32"/>