26 references to Current
PresentationCore (7)
System\Windows\Input\InputLanguageSource.cs (4)
146if (InputLanguageManager.Current.Source == this) 148return InputLanguageManager.Current.ReportInputLanguageChanging(new CultureInfo(langid), new CultureInfo(_langid)); 167if (InputLanguageManager.Current.Source == this) 169InputLanguageManager.Current.ReportInputLanguageChanged(new CultureInfo(langid), new CultureInfo(prevlangid));
System\Windows\Input\InputMethod.cs (1)
1654CultureInfo inputLang = InputLanguageManager.Current.CurrentInputLanguage;
System\Windows\Input\KeyboardDevice.cs (1)
458InputLanguageManager.Current.Focus(_focus, oldFocus);
System\Windows\Input\TextCompositionManager.cs (1)
495_altNumpadcomposition.SetText(CharacterEncoding(InputLanguageManager.Current.CurrentInputLanguage.TextInfo.ANSICodePage, _altNumpadEntry));
PresentationFramework (19)
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 (2)
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 (5)
102InputLanguageManager.Current.InputLanguageChanged += new InputLanguageEventHandler(OnInputLanguageChanged); 128InputLanguageManager.Current.InputLanguageChanged -= new InputLanguageEventHandler(OnInputLanguageChanged); 275This.SetText(This.Selection, String.Empty, InputLanguageManager.Current.CurrentInputLanguage); 1553This.SetSelectedText(filteredText, InputLanguageManager.Current.CurrentInputLanguage); 1659InputLanguageManager.Current.InputLanguageChanged -= new InputLanguageEventHandler(OnInputLanguageChanged);
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;