目前我正在为Windows 8平板电脑WPF项目 。当用户将焦点置于 输入字段时,应出现触摸键盘。WPF触摸键盘为Windows 8
private void txtVisFamName_GotFocus(object sender, RoutedEventArgs e)
{
Process.Start("tabtip.exe");
}
的tabtip键盘出现,但我在想,如果我可以使它看起来更加 定制。这些用途不需要像ALT或CTRL这样的特定按钮。
我已经尝试将输入范围添加到文本字段,但它对出现的键盘 没有影响。
<TextBox Text="{Binding VisitorFirstName}" id.Row="1" Grid.Column="2" TabIndex="1" Style="{StaticResource txtStyle}" Name="txtVisFamName" HorizontalAlignment="Left" Width="500" InputScope="PersonalFullName" GotFocus="txtVisFamName_GotFocus">
任何建议如何我可以改变键盘的出现将不胜感激。 在此先感谢。