36 references to Delete
DesignSurface (1)
MainForm.Designer.cs (1)
244
this.ToolStripMenuItemDelete.ShortcutKeys = System.Windows.Forms.Keys.
Delete
;
System.Windows.Forms (24)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
2022
if ((Keys)(int)m.WParamInternal == Keys.
Delete
)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (4)
10129
case Keys.
Delete
:
15689
case Keys.
Delete
:
21945
Keys.
Delete
24480
case Keys.
Delete
:
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (1)
194
case Keys.
Delete
:
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
2875
case Keys.
Delete
:
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (1)
214
case Keys.
Delete
:
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (9)
1167
Delete(Keys.
Delete
, 0, _maskedTextProvider.Length);
1506
Debug.Assert(keyCode is Keys.
Delete
or Keys.Back, $"Delete called with keyCode == {keyCode}");
1562
if (keyCode == Keys.
Delete
)
1899
if (keyCode is Keys.
Delete
or Keys.Back) // Deletion keys.
1908
if (keyCode == Keys.
Delete
)
1918
if (keyCode == Keys.
Delete
) // delete to the end of the string.
2300
Delete(Keys.
Delete
, selStart, selLength);
2721
Delete(Keys.
Delete
, selStart, selLength);
2843
Delete(Keys.
Delete
, startEditPos, selectionLen);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
679
else if (keyCode is Keys.
Delete
or Keys.Insert)
System\Windows\Forms\Input\KeysConverter.cs (1)
59
AddLocalizedKey(nameof(SR.toStringDelete), Keys.
Delete
);
System\Windows\Forms\SendKeys\SendKeys.cs (2)
47
new("DEL", Keys.
Delete
),
48
new("DELETE", Keys.
Delete
),
System\Windows\Forms\Shortcut.cs (3)
530
Del = Keys.
Delete
,
535
CtrlDel = Keys.Control + Keys.
Delete
,
540
ShiftDel = Keys.Shift + Keys.
Delete
,
System.Windows.Forms.Design (2)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
636
case Keys.
Delete
:
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
22
Keys.D8, Keys.D9, Keys.
Delete
, Keys.Down, Keys.E, Keys.End, Keys.F, Keys.F1, Keys.F10, Keys.F11,
System.Windows.Forms.Tests (9)
System\Windows\Forms\ControlTests.Methods.cs (3)
4402
yield return new object[] { Keys.
Delete
, false };
4432
yield return new object[] { Keys.Control | Keys.
Delete
, false };
4462
yield return new object[] { Keys.Alt | Keys.
Delete
, false };
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (2)
1034
yield return new object[] { RightToLeft.Yes, valueChanged, multiline, acceptsReturn, Keys.
Delete
, dataGridViewWantsInputKey, !dataGridViewWantsInputKey };
1035
yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.
Delete
, dataGridViewWantsInputKey, !dataGridViewWantsInputKey };
System\Windows\Forms\KeysConverterTests.cs (1)
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)
4005
yield return new object[] { Keys.
Delete
, false };
4030
yield return new object[] { Keys.Control | Keys.
Delete
, false };
4059
yield return new object[] { Keys.Alt | Keys.
Delete
, false };