简体   繁体   中英

How to set Input Language for Textbox in Silverlight

I can set input language for textbox in WPF like that:

InputLanguageManager.SetInputLanguage(textBoxName, CultureInfo.CreateSpecificCulture("ru"));

But there is not InputLanguageManager class in System.Windows.Input assembly. How can i change input language in Silverlight?

Changing user input language is not supported in Silverlight. Because silverlight is partial trusted and cannot access to system resource for security reason.

For further details, please check below link

User input language in silverlight

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM