17 references to CurrentInputLanguage
PresentationCore (2)
System\Windows\Input\InputMethod.cs (1)
1654CultureInfo inputLang = InputLanguageManager.Current.CurrentInputLanguage;
System\Windows\Input\TextCompositionManager.cs (1)
495_altNumpadcomposition.SetText(CharacterEncoding(InputLanguageManager.Current.CurrentInputLanguage.TextInfo.ANSICodePage, _altNumpadEntry));
PresentationFramework (15)
System\Windows\Documents\CompositionAdorner.cs (1)
144bool isChinesePinyin = chinesePinyin.Equals(InputLanguageManager.Current.CurrentInputLanguage.IetfLanguageTag);
System\Windows\Documents\ImmComposition.cs (1)
1129_editor.SetText(range, text, InputLanguageManager.Current.CurrentInputLanguage);
System\Windows\Documents\Speller.cs (1)
50_defaultCulture = InputLanguageManager.Current != null ? InputLanguageManager.Current.CurrentInputLanguage :
System\windows\Documents\TextEditor.cs (2)
1228textData = textData.ToUpper(InputLanguageManager.Current.CurrentInputLanguage); 1233textData = textData.ToLower(InputLanguageManager.Current.CurrentInputLanguage);
System\windows\Documents\TextEditorTyping.cs (2)
275This.SetText(This.Selection, String.Empty, InputLanguageManager.Current.CurrentInputLanguage); 1553This.SetSelectedText(filteredText, InputLanguageManager.Current.CurrentInputLanguage);
System\windows\Documents\TextSelection.cs (1)
2428if (IsBidiInputLanguage(InputLanguageManager.Current.CurrentInputLanguage))
System\Windows\Documents\TextStore.cs (6)
518this.TextEditor.SetText(range, filteredText, InputLanguageManager.Current.CurrentInputLanguage); 760this.TextEditor.SetSelectedText(filteredText, InputLanguageManager.Current.CurrentInputLanguage); 1269this.TextEditor.MarkCultureProperty(range, InputLanguageManager.Current.CurrentInputLanguage); 1285this.TextEditor.SetText(range, unmergedText, InputLanguageManager.Current.CurrentInputLanguage); 1515this.TextEditor.SetText(TextSelection, filteredText, InputLanguageManager.Current.CurrentInputLanguage); 2002this.TextEditor.SetText(range, text, InputLanguageManager.Current.CurrentInputLanguage);
System\Windows\Documents\WinRTSpellerInterop.cs (1)
55_defaultCulture = InputLanguageManager.Current?.CurrentInputLanguage ?? Thread.CurrentThread.CurrentCulture;