28 references to Current
PresentationCore (13)
System\Windows\Input\AccessKeyManager.cs (1)
176InputManager.Current.PostProcessInput += new ProcessInputEventHandler(PostProcessInput);
System\Windows\Input\DefaultTextStore.cs (3)
139TextCompositionManager 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)
667InputManager.Current.ProcessInput(inputReportEventArgs);
System\Windows\Input\TextComposition.cs (1)
93public 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); 664TextComposition 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)
38InputManager inputManager = InputManager.Current;
PresentationFramework (5)
System\Windows\Controls\PopupControlService.cs (1)
37InputManager.Current.PostProcessInput += new ProcessInputEventHandler(OnPostProcessInput);
System\Windows\Controls\Primitives\ButtonBase.cs (1)
754return InputManager.Current.PrimaryMouseDevice.LeftButton == MouseButtonState.Released;
System\Windows\Documents\TextStore.cs (1)
2068composition = new FrameworkTextComposition(InputManager.Current, editor.UiScope, owner);
System\Windows\Input\KeyboardNavigation.cs (2)
84InputManager inputManager = InputManager.Current; 822return InputManager.Current.MostRecentInputDevice is KeyboardDevice;
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\KeyTipService.cs (2)
44InputManager.Current.PostProcessInput += new ProcessInputEventHandler(PostProcessInput); 45InputManager.Current.PreProcessInput += new PreProcessInputEventHandler(PreProcessInput);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
477return (InputManager.Current.MostRecentInputDevice is KeyboardDevice);
Microsoft\Windows\Controls\Ribbon\RibbonToolTipService.cs (1)
27InputManager.Current.PostProcessInput += new ProcessInputEventHandler(OnPostProcessInput);
WindowsFormsIntegration (6)
System\Windows\Integration\ApplicationInterop.cs (2)
91System.Windows.Input.InputManager.Current.IsInMenuMode) 131SWI.InputManager.Current.PrimaryKeyboardDevice.TextCompositionManager.CompleteDeadCharComposition();
System\Windows\Integration\ElementHost.cs (2)
81SWI.InputManager.Current.PostProcessInput += InputManager_PostProcessInput; 852SWI.InputManager.Current.PostProcessInput -= InputManager_PostProcessInput;
System\Windows\Integration\WindowsFormsHost.cs (2)
840SWI.InputManager.Current.PostProcessInput += InputManager_PostProcessInput; 849SWI.InputManager.Current.PostProcessInput -= InputManager_PostProcessInput;