28 references to Current
PresentationCore (13)
System\Windows\Input\AccessKeyManager.cs (1)
176
InputManager.
Current
.PostProcessInput += new ProcessInputEventHandler(PostProcessInput);
System\Windows\Input\DefaultTextStore.cs (3)
139
TextCompositionManager compmgr = InputManager.
Current
.PrimaryKeyboardDevice.TextCompositionManager;
150
_composition = new DefaultTextStoreTextComposition(InputManager.
Current
, Keyboard.FocusedElement, result, TextCompositionAutoComplete.On);
180
_composition = new DefaultTextStoreTextComposition(InputManager.
Current
, Keyboard.FocusedElement, "", TextCompositionAutoComplete.Off);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
667
InputManager.
Current
.ProcessInput(inputReportEventArgs);
System\Windows\Input\TextComposition.cs (1)
93
public TextComposition(InputManager inputManager, IInputElement source, string resultText, TextCompositionAutoComplete autoComplete) : this(inputManager, source, resultText, autoComplete, InputManager.
Current
.PrimaryKeyboardDevice)
System\Windows\Input\TextCompositionManager.cs (2)
642
_deadCharTextComposition = new DeadCharTextComposition(_inputManager, (IInputElement)null, inputText , TextCompositionAutoComplete.Off, InputManager.
Current
.PrimaryKeyboardDevice);
664
TextComposition composition = new TextComposition(_inputManager, (IInputElement)e.StagingItem.Input.Source, inputText, TextCompositionAutoComplete.On, InputManager.
Current
.PrimaryKeyboardDevice);
System\Windows\InterOp\HwndAppCommandInputProvider.cs (1)
22
_site = InputManager.
Current
.RegisterInputProvider(this);
System\Windows\InterOp\HwndKeyboardInputProvider.cs (1)
25
_site = InputManager.
Current
.RegisterInputProvider(this);
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
26
_site = InputManager.
Current
.RegisterInputProvider(this);
System\Windows\InterOp\HwndPointerInputProvider.cs (1)
74
_site = InputManager.
Current
.RegisterInputProvider(this);
System\Windows\InterOp\HwndStylusInputProvider.cs (1)
38
InputManager inputManager = InputManager.
Current
;
PresentationFramework (5)
System\Windows\Controls\PopupControlService.cs (1)
37
InputManager.
Current
.PostProcessInput += new ProcessInputEventHandler(OnPostProcessInput);
System\Windows\Controls\Primitives\ButtonBase.cs (1)
754
return InputManager.
Current
.PrimaryMouseDevice.LeftButton == MouseButtonState.Released;
System\Windows\Documents\TextStore.cs (1)
2068
composition = new FrameworkTextComposition(InputManager.
Current
, editor.UiScope, owner);
System\Windows\Input\KeyboardNavigation.cs (2)
84
InputManager inputManager = InputManager.
Current
;
822
return InputManager.
Current
.MostRecentInputDevice is KeyboardDevice;
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\KeyTipService.cs (2)
44
InputManager.
Current
.PostProcessInput += new ProcessInputEventHandler(PostProcessInput);
45
InputManager.
Current
.PreProcessInput += new PreProcessInputEventHandler(PreProcessInput);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
477
return (InputManager.
Current
.MostRecentInputDevice is KeyboardDevice);
Microsoft\Windows\Controls\Ribbon\RibbonToolTipService.cs (1)
27
InputManager.
Current
.PostProcessInput += new ProcessInputEventHandler(OnPostProcessInput);
WindowsFormsIntegration (6)
System\Windows\Integration\ApplicationInterop.cs (2)
91
System.Windows.Input.InputManager.
Current
.IsInMenuMode)
131
SWI.InputManager.
Current
.PrimaryKeyboardDevice.TextCompositionManager.CompleteDeadCharComposition();
System\Windows\Integration\ElementHost.cs (2)
81
SWI.InputManager.
Current
.PostProcessInput += InputManager_PostProcessInput;
852
SWI.InputManager.
Current
.PostProcessInput -= InputManager_PostProcessInput;
System\Windows\Integration\WindowsFormsHost.cs (2)
840
SWI.InputManager.
Current
.PostProcessInput += InputManager_PostProcessInput;
849
SWI.InputManager.
Current
.PostProcessInput -= InputManager_PostProcessInput;