20 references to Current
PresentationCore (11)
Core\CSharp\System\Windows\Input\AccessKeyManager.cs (1)
196InputManager.Current.PostProcessInput += new ProcessInputEventHandler(PostProcessInput);
Core\CSharp\System\Windows\Input\DefaultTextStore.cs (3)
164TextCompositionManager compmgr = InputManager.Current.PrimaryKeyboardDevice.TextCompositionManager; 176_composition = new DefaultTextStoreTextComposition(InputManager.Current, Keyboard.FocusedElement, result, TextCompositionAutoComplete.On); 207_composition = new DefaultTextStoreTextComposition(InputManager.Current, Keyboard.FocusedElement, "", TextCompositionAutoComplete.Off);
Core\CSharp\System\Windows\Input\TextComposition.cs (1)
103public TextComposition(InputManager inputManager, IInputElement source, string resultText, TextCompositionAutoComplete autoComplete) : this(inputManager, source, resultText, autoComplete, InputManager.Current.PrimaryKeyboardDevice)
Core\CSharp\System\Windows\Input\TextCompositionManager.cs (2)
776_deadCharTextComposition = new DeadCharTextComposition(_inputManager, (IInputElement)null, inputText , TextCompositionAutoComplete.Off, InputManager.Current.PrimaryKeyboardDevice); 798TextComposition composition = new TextComposition(_inputManager, (IInputElement)e.StagingItem.Input.Source, inputText, TextCompositionAutoComplete.On, InputManager.Current.PrimaryKeyboardDevice);
Core\CSharp\System\Windows\Interop\HwndAppCommandInputProvider.cs (1)
26_site = new SecurityCriticalDataClass<InputProviderSite>(InputManager.Current.RegisterInputProvider(this));
Core\CSharp\System\Windows\Interop\HwndKeyboardInputProvider.cs (1)
31_site = new SecurityCriticalDataClass<InputProviderSite>(InputManager.Current.RegisterInputProvider(this));
Core\CSharp\System\Windows\Interop\HwndMouseInputProvider.cs (1)
31_site = new SecurityCriticalDataClass<InputProviderSite>(InputManager.Current.RegisterInputProvider(this));
Core\CSharp\System\Windows\Interop\HwndStylusInputProvider.cs (1)
40InputManager inputManager = InputManager.Current;
PresentationFramework (5)
src\Framework\System\Windows\Controls\PopupControlService.cs (1)
42InputManager.Current.PostProcessInput += new ProcessInputEventHandler(OnPostProcessInput);
src\Framework\System\Windows\Controls\Primitives\ButtonBase.cs (1)
748return InputManager.Current.PrimaryMouseDevice.LeftButton == MouseButtonState.Released;
src\Framework\System\Windows\Documents\TextStore.cs (1)
1937composition = new FrameworkTextComposition(InputManager.Current, editor.UiScope, owner);
src\Framework\System\Windows\Input\KeyboardNavigation.cs (2)
91InputManager inputManager = InputManager.Current; 875return InputManager.Current.MostRecentInputDevice is KeyboardDevice;
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\UserInterface\FocusScopeManager.cs (4)
171InputManager.Current.PreNotifyInput += new NotifyInputEventHandler(FocusScopeManager.Instance.InputManager_PreNotifyInput); 172InputManager.Current.PostNotifyInput += new NotifyInputEventHandler(FocusScopeManager.Instance.InputManager_PostNotifyInput); 190InputManager.Current.PreNotifyInput -= new NotifyInputEventHandler(this.InputManager_PreNotifyInput); 191InputManager.Current.PostNotifyInput -= new NotifyInputEventHandler(this.InputManager_PostNotifyInput);