Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
how to get current input language in wpf c#?
Sumit Kumawat
Nov 25 2017 2:32 PM
243
Reply
Hi all,
i am creating a wpf application and getting current input language using below code
string lang = "Current " + InputLanguageManager.Current.CurrentInputLanguage.ToString();
and it is working fine but now when i am setting this inside the background worker thread i am getting
exception "Object reference not set to an instance of an object."
please tell me how to use dispatcher for getting current input language.
TIA
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
What is service bus architecture
how to write query for ExportLogAndMessages in c#?