25 references to None
System.Windows.Forms (25)
winforms\Managed\System\WinForms\ContainerControl.cs (2)
1188
if ((keyData & (Keys.Alt | Keys.Control)) == Keys.
None
) {
1192
if (ProcessTabKey((keyData & Keys.Shift) == Keys.
None
)) return true;
winforms\Managed\System\WinForms\Control.cs (1)
14411
Keys keyState = Keys.
None
;
winforms\Managed\System\WinForms\Form.cs (1)
5316
if ((keyData & (Keys.Alt | Keys.Control)) == Keys.
None
) {
winforms\Managed\System\WinForms\KeyEvent.cs (1)
119
return Keys.
None
;
winforms\Managed\System\WinForms\MaskedTextBox.cs (1)
2066
if (keyCode == Keys.Insert && e.Modifiers == Keys.
None
&& this.insertMode == InsertKeyMode.Default)
winforms\Managed\System\WinForms\PreviewKeyDownEventArgs.cs (1)
76
return Keys.
None
;
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
1612
if ((keyData & (Keys.Alt | Keys.Control)) == Keys.
None
) {
winforms\Managed\System\WinForms\SplitContainer.cs (2)
2411
if ((keyData & (Keys.Alt | Keys.Control)) == Keys.
None
) {
2415
if (ProcessTabKey((keyData & Keys.Shift) == Keys.
None
)) return true;
winforms\Managed\System\WinForms\ToolStrip.cs (3)
2898
if ((keyData & Keys.Shift) == Keys.
None
) {
2937
bool hasModifiers = ((keyData & (Keys.Alt | Keys.Control)) != Keys.
None
);
2952
retVal = ProcessTabKey((keyData & Keys.Shift) == Keys.
None
);
winforms\Managed\System\WinForms\ToolStripGrip.cs (1)
129
return (Control.MouseButtons == MouseButtons.Left) && (Control.ModifierKeys == Keys.
None
);
winforms\Managed\System\WinForms\ToolStripManager.cs (4)
1481
if (shortcut == Keys.
None
) {
1491
else if ((keyCode != Keys.
None
) && (modifiers != Keys.
None
)) {
1734
if (UnsafeNativeMethods.GetKeyState((int)Keys.ShiftKey) < 0 && (keyData == Keys.
None
)) {
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (7)
470
DefaultValue(Keys.
None
),
477
return (found) ? (Keys)shortcutKeys : Keys.
None
;
480
if ((value != Keys.
None
) && !ToolStripManager.IsValidShortcut(value)){
490
if (originalShortcut != Keys.
None
) {
689
if (shortcut != Keys.
None
&& lastOwner.Shortcuts.ContainsKey(shortcut)) {
1031
if (shortcut != Keys.
None
) {
1214
else if (shortcutKeys == Keys.
None
) {