目前我正在爲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">
任何建議如何我可以改變鍵盤的出現將不勝感激。 在此先感謝。