23 references to F2
System.Windows.Forms (12)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (5)
10133case Keys.F2: 15708case Keys.F2: 21913if (BeginEditInternal(selectAll: !(ke.KeyCode == Keys.F2 && ModifierKeys == 0 && EditMode == DataGridViewEditMode.EditOnKeystrokeOrF2))) 21965or Keys.F2 24469case Keys.F2:
System\Windows\Forms\Input\KeysConverter.cs (1)
54AddKey("F2", Keys.F2);
System\Windows\Forms\SendKeys\SendKeys.cs (1)
51new("F2", Keys.F2),
System\Windows\Forms\Shortcut.cs (5)
284F2 = Keys.F2, 340ShiftF2 = Keys.Shift + Keys.F2, 400CtrlF2 = Keys.Control + Keys.F2, 460CtrlShiftF2 = Keys.Control + Keys.Shift + Keys.F2, 575AltF2 = Keys.Alt + Keys.F2,
System.Windows.Forms.Design (3)
System\Drawing\Design\ColorEditor.ColorPalette.cs (2)
232Keys.F2 => false, 422if (keyData == Keys.F2)
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
23Keys.F12, Keys.F13, Keys.F14, Keys.F15, Keys.F16, Keys.F17, Keys.F18, Keys.F19, Keys.F2, Keys.F20,
System.Windows.Forms.Tests (8)
System\Windows\Forms\ControlTests.Methods.cs (3)
4415yield return new object[] { Keys.F2, false }; 4445yield return new object[] { Keys.Control | Keys.F2, false }; 4475yield return new object[] { Keys.Alt | Keys.F2, false };
System\Windows\Forms\KeysConverterTests.cs (2)
64[InlineData(Keys.F2 | Keys.Shift | Keys.Alt | Keys.Control, "Ctrl+Alt+Shift+F2")] 147Keys.Delete, Keys.End, Keys.Enter, Keys.F1, Keys.F10, Keys.F11, Keys.F12, Keys.F2, Keys.F3, Keys.F4, Keys.F5, Keys.F6, Keys.F7, Keys.F8,
System\Windows\Forms\TabControlTests.cs (3)
4009yield return new object[] { Keys.F2, false }; 4034yield return new object[] { Keys.Control | Keys.F2, false }; 4063yield return new object[] { Keys.Alt | Keys.F2, false };