26 references to Current
PresentationCore (7)
Core\CSharp\System\Windows\Input\InputLanguageSource.cs (4)
159
if (InputLanguageManager.
Current
.Source == this)
161
return InputLanguageManager.
Current
.ReportInputLanguageChanging(new CultureInfo(langid), new CultureInfo(_langid));
180
if (InputLanguageManager.
Current
.Source == this)
182
InputLanguageManager.
Current
.ReportInputLanguageChanged(new CultureInfo(langid), new CultureInfo(prevlangid));
Core\CSharp\System\Windows\Input\InputMethod.cs (1)
1829
CultureInfo inputLang = InputLanguageManager.
Current
.CurrentInputLanguage;
Core\CSharp\System\Windows\Input\KeyboardDevice.cs (1)
539
InputLanguageManager.
Current
.Focus(_focus, oldFocus);
Core\CSharp\System\Windows\Input\TextCompositionManager.cs (1)
645
_altNumpadcomposition.SetText(CharacterEncoding(InputLanguageManager.
Current
.CurrentInputLanguage.TextInfo.ANSICodePage, _altNumpadEntry));
PresentationFramework (19)
src\Framework\System\Windows\Documents\CompositionAdorner.cs (1)
149
bool isChinesePinyin = chinesePinyin.Equals(InputLanguageManager.
Current
.CurrentInputLanguage.IetfLanguageTag);
src\Framework\System\Windows\Documents\ImmComposition.cs (1)
1269
_editor.SetText(range, text, InputLanguageManager.
Current
.CurrentInputLanguage);
src\Framework\System\Windows\Documents\Speller.cs (2)
55
_defaultCulture = InputLanguageManager.
Current
!= null ? InputLanguageManager.
Current
.CurrentInputLanguage :
src\Framework\System\windows\Documents\TextEditor.cs (2)
1261
textData = textData.ToUpper(InputLanguageManager.
Current
.CurrentInputLanguage);
1266
textData = textData.ToLower(InputLanguageManager.
Current
.CurrentInputLanguage);
src\Framework\System\windows\Documents\TextEditorTyping.cs (5)
115
InputLanguageManager.
Current
.InputLanguageChanged += new InputLanguageEventHandler(OnInputLanguageChanged);
141
InputLanguageManager.
Current
.InputLanguageChanged -= new InputLanguageEventHandler(OnInputLanguageChanged);
288
This.SetText(This.Selection, String.Empty, InputLanguageManager.
Current
.CurrentInputLanguage);
1579
This.SetSelectedText(filteredText, InputLanguageManager.
Current
.CurrentInputLanguage);
1698
InputLanguageManager.
Current
.InputLanguageChanged -= new InputLanguageEventHandler(OnInputLanguageChanged);
src\Framework\System\windows\Documents\TextSelection.cs (1)
2439
if (IsBidiInputLanguage(InputLanguageManager.
Current
.CurrentInputLanguage))
src\Framework\System\Windows\Documents\TextStore.cs (6)
408
this.TextEditor.SetText(range, filteredText, InputLanguageManager.
Current
.CurrentInputLanguage);
639
this.TextEditor.SetSelectedText(filteredText, InputLanguageManager.
Current
.CurrentInputLanguage);
1152
this.TextEditor.MarkCultureProperty(range, InputLanguageManager.
Current
.CurrentInputLanguage);
1168
this.TextEditor.SetText(range, unmergedText, InputLanguageManager.
Current
.CurrentInputLanguage);
1391
this.TextEditor.SetText(TextSelection, filteredText, InputLanguageManager.
Current
.CurrentInputLanguage);
1891
this.TextEditor.SetText(range, text, InputLanguageManager.
Current
.CurrentInputLanguage);
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (1)
85
_defaultCulture = InputLanguageManager.
Current
?.CurrentInputLanguage ?? Thread.CurrentThread.CurrentCulture;