26 references to Current
PresentationCore (7)
System\Windows\Input\InputLanguageSource.cs (4)
146
if (InputLanguageManager.
Current
.Source == this)
148
return InputLanguageManager.
Current
.ReportInputLanguageChanging(new CultureInfo(langid), new CultureInfo(_langid));
167
if (InputLanguageManager.
Current
.Source == this)
169
InputLanguageManager.
Current
.ReportInputLanguageChanged(new CultureInfo(langid), new CultureInfo(prevlangid));
System\Windows\Input\InputMethod.cs (1)
1654
CultureInfo inputLang = InputLanguageManager.
Current
.CurrentInputLanguage;
System\Windows\Input\KeyboardDevice.cs (1)
458
InputLanguageManager.
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)
144
bool 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)
1228
textData = textData.ToUpper(InputLanguageManager.
Current
.CurrentInputLanguage);
1233
textData = textData.ToLower(InputLanguageManager.
Current
.CurrentInputLanguage);
System\windows\Documents\TextEditorTyping.cs (5)
102
InputLanguageManager.
Current
.InputLanguageChanged += new InputLanguageEventHandler(OnInputLanguageChanged);
128
InputLanguageManager.
Current
.InputLanguageChanged -= new InputLanguageEventHandler(OnInputLanguageChanged);
275
This.SetText(This.Selection, String.Empty, InputLanguageManager.
Current
.CurrentInputLanguage);
1553
This.SetSelectedText(filteredText, InputLanguageManager.
Current
.CurrentInputLanguage);
1659
InputLanguageManager.
Current
.InputLanguageChanged -= new InputLanguageEventHandler(OnInputLanguageChanged);
System\windows\Documents\TextSelection.cs (1)
2428
if (IsBidiInputLanguage(InputLanguageManager.
Current
.CurrentInputLanguage))
System\Windows\Documents\TextStore.cs (6)
518
this.TextEditor.SetText(range, filteredText, InputLanguageManager.
Current
.CurrentInputLanguage);
760
this.TextEditor.SetSelectedText(filteredText, InputLanguageManager.
Current
.CurrentInputLanguage);
1269
this.TextEditor.MarkCultureProperty(range, InputLanguageManager.
Current
.CurrentInputLanguage);
1285
this.TextEditor.SetText(range, unmergedText, InputLanguageManager.
Current
.CurrentInputLanguage);
1515
this.TextEditor.SetText(TextSelection, filteredText, InputLanguageManager.
Current
.CurrentInputLanguage);
2002
this.TextEditor.SetText(range, text, InputLanguageManager.
Current
.CurrentInputLanguage);
System\Windows\Documents\WinRTSpellerInterop.cs (1)
55
_defaultCulture = InputLanguageManager.
Current
?.CurrentInputLanguage ?? Thread.CurrentThread.CurrentCulture;