【发布时间】:2012-11-14 17:09:31
【问题描述】:
如何让屏幕键盘只使用英文,即使设置选择了英文以外的一些其他语言?
【问题讨论】:
标签: windows-phone-7 on-screen-keyboard
如何让屏幕键盘只使用英文,即使设置选择了英文以外的一些其他语言?
【问题讨论】:
标签: windows-phone-7 on-screen-keyboard
抱歉,您无法在 WP7 上更改代码中的键盘语言。
更新
我对从应用线程中提取当前语言(区域设置)进行了一些研究,并提出了这篇关于代码中应用内语言选择的帖子。这看起来像是为本地化文本而设计的,但是,我有预感键盘语言会效仿。祝你好运!
http://dotnetbyexample.blogspot.com/2011/07/mvvmlight-based-language-selection-for.html
Thread.CurrentThread.CurrentUICulture = new CultureInfo(CurrentLanguage.Locale);
Thread.CurrentThread.CurrentCulture = Thread.CurrentThread.CurrentUICulture;
【讨论】: