20 references to Current
PresentationCore (11)
Core\CSharp\System\Windows\Input\AccessKeyManager.cs (1)
196
InputManager.
Current
.PostProcessInput += new ProcessInputEventHandler(PostProcessInput);
Core\CSharp\System\Windows\Input\DefaultTextStore.cs (3)
164
TextCompositionManager 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)
103
public 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);
798
TextComposition 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)
40
InputManager inputManager = InputManager.
Current
;
PresentationFramework (5)
src\Framework\System\Windows\Controls\PopupControlService.cs (1)
42
InputManager.
Current
.PostProcessInput += new ProcessInputEventHandler(OnPostProcessInput);
src\Framework\System\Windows\Controls\Primitives\ButtonBase.cs (1)
748
return InputManager.
Current
.PrimaryMouseDevice.LeftButton == MouseButtonState.Released;
src\Framework\System\Windows\Documents\TextStore.cs (1)
1937
composition = new FrameworkTextComposition(InputManager.
Current
, editor.UiScope, owner);
src\Framework\System\Windows\Input\KeyboardNavigation.cs (2)
91
InputManager inputManager = InputManager.
Current
;
875
return 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)
171
InputManager.
Current
.PreNotifyInput += new NotifyInputEventHandler(FocusScopeManager.Instance.InputManager_PreNotifyInput);
172
InputManager.
Current
.PostNotifyInput += new NotifyInputEventHandler(FocusScopeManager.Instance.InputManager_PostNotifyInput);
190
InputManager.
Current
.PreNotifyInput -= new NotifyInputEventHandler(this.InputManager_PreNotifyInput);
191
InputManager.
Current
.PostNotifyInput -= new NotifyInputEventHandler(this.InputManager_PostNotifyInput);