26 references to Current
PresentationCore (7)
System\Windows\Input\InputLanguageSource.cs (4)
153
if (InputLanguageManager.
Current
.Source == this)
155
return InputLanguageManager.
Current
.ReportInputLanguageChanging(new CultureInfo(langid), new CultureInfo(_langid));
174
if (InputLanguageManager.
Current
.Source == this)
176
InputLanguageManager.
Current
.ReportInputLanguageChanged(new CultureInfo(langid), new CultureInfo(prevlangid));
System\Windows\Input\InputMethod.cs (1)
1668
CultureInfo inputLang = InputLanguageManager.
Current
.CurrentInputLanguage;
System\Windows\Input\KeyboardDevice.cs (1)
467
InputLanguageManager.
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)
147
bool 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)
1234
textData = textData.ToUpper(InputLanguageManager.
Current
.CurrentInputLanguage);
1239
textData = textData.ToLower(InputLanguageManager.
Current
.CurrentInputLanguage);
System\windows\Documents\TextEditorTyping.cs (5)
111
InputLanguageManager.
Current
.InputLanguageChanged += new InputLanguageEventHandler(OnInputLanguageChanged);
137
InputLanguageManager.
Current
.InputLanguageChanged -= new InputLanguageEventHandler(OnInputLanguageChanged);
284
This.SetText(This.Selection, String.Empty, InputLanguageManager.
Current
.CurrentInputLanguage);
1562
This.SetSelectedText(filteredText, InputLanguageManager.
Current
.CurrentInputLanguage);
1668
InputLanguageManager.
Current
.InputLanguageChanged -= new InputLanguageEventHandler(OnInputLanguageChanged);
System\windows\Documents\TextSelection.cs (1)
2431
if (IsBidiInputLanguage(InputLanguageManager.
Current
.CurrentInputLanguage))
System\Windows\Documents\TextStore.cs (6)
529
this.TextEditor.SetText(range, filteredText, InputLanguageManager.
Current
.CurrentInputLanguage);
771
this.TextEditor.SetSelectedText(filteredText, InputLanguageManager.
Current
.CurrentInputLanguage);
1280
this.TextEditor.MarkCultureProperty(range, InputLanguageManager.
Current
.CurrentInputLanguage);
1296
this.TextEditor.SetText(range, unmergedText, InputLanguageManager.
Current
.CurrentInputLanguage);
1526
this.TextEditor.SetText(TextSelection, filteredText, InputLanguageManager.
Current
.CurrentInputLanguage);
2013
this.TextEditor.SetText(range, text, InputLanguageManager.
Current
.CurrentInputLanguage);
System\Windows\Documents\WinRTSpellerInterop.cs (1)
63
_defaultCulture = InputLanguageManager.
Current
?.CurrentInputLanguage ?? Thread.CurrentThread.CurrentCulture;