23 references to F2
System.Windows.Forms (12)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (5)
10133
case Keys.
F2
:
15708
case Keys.
F2
:
21913
if (BeginEditInternal(selectAll: !(ke.KeyCode == Keys.
F2
&& ModifierKeys == 0 && EditMode == DataGridViewEditMode.EditOnKeystrokeOrF2)))
21965
or Keys.
F2
24469
case Keys.
F2
:
System\Windows\Forms\Input\KeysConverter.cs (1)
54
AddKey("F2", Keys.
F2
);
System\Windows\Forms\SendKeys\SendKeys.cs (1)
51
new("F2", Keys.
F2
),
System\Windows\Forms\Shortcut.cs (5)
284
F2 = Keys.
F2
,
340
ShiftF2 = Keys.Shift + Keys.
F2
,
400
CtrlF2 = Keys.Control + Keys.
F2
,
460
CtrlShiftF2 = Keys.Control + Keys.Shift + Keys.
F2
,
575
AltF2 = Keys.Alt + Keys.
F2
,
System.Windows.Forms.Design (3)
System\Drawing\Design\ColorEditor.ColorPalette.cs (2)
232
Keys.
F2
=> false,
422
if (keyData == Keys.
F2
)
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
23
Keys.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)
4415
yield return new object[] { Keys.
F2
, false };
4445
yield return new object[] { Keys.Control | Keys.
F2
, false };
4475
yield 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")]
147
Keys.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)
4009
yield return new object[] { Keys.
F2
, false };
4034
yield return new object[] { Keys.Control | Keys.
F2
, false };
4063
yield return new object[] { Keys.Alt | Keys.
F2
, false };