26 references to Current
PresentationCore (7)
System\Windows\Input\InputLanguageSource.cs (4)
153if (InputLanguageManager.Current.Source == this) 155return InputLanguageManager.Current.ReportInputLanguageChanging(new CultureInfo(langid), new CultureInfo(_langid)); 174if (InputLanguageManager.Current.Source == this) 176InputLanguageManager.Current.ReportInputLanguageChanged(new CultureInfo(langid), new CultureInfo(prevlangid));
System\Windows\Input\InputMethod.cs (1)
1668CultureInfo inputLang = InputLanguageManager.Current.CurrentInputLanguage;
System\Windows\Input\KeyboardDevice.cs (1)
467InputLanguageManager.Current.Focus(_focus, oldFocus);
System\Windows\Input\TextCompositionManager.cs (1)
511_altNumpadcomposition.SetText(CharacterEncoding(InputLanguageManager.Current.CurrentInputLanguage.TextInfo.ANSICodePage, _altNumpadEntry));
PresentationFramework (19)
System\Windows\Documents\CompositionAdorner.cs (1)
147bool isChinesePinyin = chinesePinyin.Equals(InputLanguageManager.Current.CurrentInputLanguage.IetfLanguageTag);
System\Windows\Documents\ImmComposition.cs (1)
1137_editor.SetText(range, text, InputLanguageManager.Current.CurrentInputLanguage);
System\Windows\Documents\Speller.cs (2)
54_defaultCulture = InputLanguageManager.Current != null ? InputLanguageManager.Current.CurrentInputLanguage :
System\windows\Documents\TextEditor.cs (2)
1234textData = textData.ToUpper(InputLanguageManager.Current.CurrentInputLanguage); 1239textData = textData.ToLower(InputLanguageManager.Current.CurrentInputLanguage);
System\windows\Documents\TextEditorTyping.cs (5)
111InputLanguageManager.Current.InputLanguageChanged += new InputLanguageEventHandler(OnInputLanguageChanged); 137InputLanguageManager.Current.InputLanguageChanged -= new InputLanguageEventHandler(OnInputLanguageChanged); 284This.SetText(This.Selection, String.Empty, InputLanguageManager.Current.CurrentInputLanguage); 1562This.SetSelectedText(filteredText, InputLanguageManager.Current.CurrentInputLanguage); 1668InputLanguageManager.Current.InputLanguageChanged -= new InputLanguageEventHandler(OnInputLanguageChanged);
System\windows\Documents\TextSelection.cs (1)
2431if (IsBidiInputLanguage(InputLanguageManager.Current.CurrentInputLanguage))
System\Windows\Documents\TextStore.cs (6)
529this.TextEditor.SetText(range, filteredText, InputLanguageManager.Current.CurrentInputLanguage); 771this.TextEditor.SetSelectedText(filteredText, InputLanguageManager.Current.CurrentInputLanguage); 1280this.TextEditor.MarkCultureProperty(range, InputLanguageManager.Current.CurrentInputLanguage); 1296this.TextEditor.SetText(range, unmergedText, InputLanguageManager.Current.CurrentInputLanguage); 1526this.TextEditor.SetText(TextSelection, filteredText, InputLanguageManager.Current.CurrentInputLanguage); 2013this.TextEditor.SetText(range, text, InputLanguageManager.Current.CurrentInputLanguage);
System\Windows\Documents\WinRTSpellerInterop.cs (1)
63_defaultCulture = InputLanguageManager.Current?.CurrentInputLanguage ?? Thread.CurrentThread.CurrentCulture;