28 references to None
PresentationCore (13)
Core\CSharp\System\Windows\Input\Command\KeyBinding.cs (1)
140
DependencyProperty.Register("Key", typeof(Key), typeof(KeyBinding), new UIPropertyMetadata(Key.
None
, new PropertyChangedCallback(OnKeyPropertyChanged)));
Core\CSharp\System\Windows\Input\Command\KeyGesture.cs (2)
194
return (key >= Key.
None
&& key <= Key.OemClear);
313
private Key _key = Key.
None
;
Core\CSharp\System\Windows\Input\Command\KeyGestureConverter.cs (3)
94
return new KeyGesture(Key.
None
);
160
if (keyGesture.Key == Key.
None
)
193
return (key >= Key.
None
&& key <= Key.OemClear);
Core\CSharp\System\Windows\Input\Keyboard.cs (1)
381
return ((int)key >= (int)Key.
None
&& (int)key <= (int)Key.OemClear);
Core\CSharp\System\Windows\Input\KeyboardDevice.cs (3)
880
_previousKey = Key.
None
;
1016
if(key != Key.
None
)
1035
if(key != Key.
None
)
Core\CSharp\System\Windows\Input\KeyEventArgs.cs (3)
102
get { return (_key == Key.ImeProcessed) ? _realKey : Key.
None
;}
111
get { return (_key == Key.System) ? _realKey : Key.
None
;}
120
get { return (_key == Key.DeadCharProcessed) ? _realKey : Key.
None
; }
PresentationFramework (7)
src\Framework\System\Windows\Input\KeyboardNavigation.cs (7)
3265
_lastKeyPressed = Key.
None
;
3273
_lastKeyPressed = Key.
None
;
3280
if (_lastKeyPressed == Key.
None
)
3290
_lastKeyPressed = Key.
None
;
3335
_lastKeyPressed = Key.
None
;
3341
_lastKeyPressed = Key.
None
;
3469
private Key _lastKeyPressed = Key.
None
;
WindowsBase (8)
Base\System\Windows\Input\KeyConverter.cs (5)
72
return ((int)key >= (int)Key.
None
&& (int)key <= (int)Key.DeadCharProcessed);
121
if (key == Key.
None
)
149
return Key.
None
;
235
if (key == Key.
None
)
246
if ((int)key >= (int)Key.
None
&& (int)key <= (int)Key.DeadCharProcessed)
Base\System\Windows\Input\KeyInterop.cs (2)
18
Key key = Key.
None
;
702
key = Key.
None
;
Base\System\Windows\Input\KeyValueSerializer.cs (1)
60
return ((int)key >= (int)Key.
None
&& (int)key <= (int)Key.OemClear);