39 references to Back
System.Windows.Forms (19)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (3)
2039if (keyChar == (char)Keys.Back) 2939&& (keyData == (Keys.Control | Keys.Back) || keyData == (Keys.Control | Keys.Shift | Keys.Back)))
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (6)
1506Debug.Assert(keyCode is Keys.Delete or Keys.Back, $"Delete called with keyCode == {keyCode}"); 1516if (keyCode == Keys.Back) 1594if (keyCode == Keys.Back) // Case 3. 1887keyCode = Keys.Back; // handle it below. 1899if (keyCode is Keys.Delete or Keys.Back) // Deletion keys. 1910keyCode = Keys.Back;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (4)
165(int)Shortcut.CtrlE, (int)Shortcut.CtrlY, (int)Keys.Control + (int)Keys.Back, 209if (!ReadOnly && (keyData == (Keys.Control | Keys.Back) || keyData == (Keys.Control | Keys.Shift | Keys.Back))) 1341case Keys.Back:
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
2764case Keys.Back:
System\Windows\Forms\Input\KeysConverter.cs (1)
62AddLocalizedKey(nameof(SR.toStringBack), Keys.Back);
System\Windows\Forms\SendKeys\SendKeys.cs (3)
40new("BACKSPACE", Keys.Back), 41new("BKSP", Keys.Back), 42new("BS", Keys.Back),
System\Windows\Forms\Shortcut.cs (1)
565AltBksp = Keys.Alt + Keys.Back,
System.Windows.Forms.Tests (20)
System\Windows\Forms\ComboBoxTests.cs (1)
1722tb.ProcessCmdKey(ref message, Keys.Control | Keys.Back);
System\Windows\Forms\ControlTests.Methods.cs (3)
4399yield return new object[] { Keys.Back, false }; 4429yield return new object[] { Keys.Control | Keys.Back, false }; 4459yield return new object[] { Keys.Alt | Keys.Back, false };
System\Windows\Forms\KeysConverterTests.cs (1)
146Keys.None, Keys.D0, Keys.D1, Keys.D2, Keys.D3, Keys.D4, Keys.D5, Keys.D6, Keys.D7, Keys.D8, Keys.D9, Keys.Alt, Keys.Back, Keys.Control,
System\Windows\Forms\TabControlTests.cs (3)
4002yield return new object[] { Keys.Back, false }; 4027yield return new object[] { Keys.Control | Keys.Back, false }; 4056yield return new object[] { Keys.Alt | Keys.Back, false };
TextBoxBaseTests.cs (12)
5190yield return new object[] { multiline, acceptsTab, readOnly, Keys.Back | Keys.Alt, false }; 5207[InlineData(true, true, true, Keys.Back, false)] 5208[InlineData(true, true, false, Keys.Back, true)] 5238[InlineData(true, true, true, Keys.Back, true)] 5239[InlineData(true, true, false, Keys.Back, true)] 5837yield return new object[] { shortcutsEnabled, readOnly, Keys.Control | Keys.Back, !shortcutsEnabled || !readOnly }; 5838yield return new object[] { shortcutsEnabled, readOnly, Keys.Control | Keys.Shift | Keys.Back, !shortcutsEnabled || !readOnly }; 5942Assert.True(control.ProcessCmdKey(ref message, Keys.Control | Keys.Back)); 5956Assert.False(control.ProcessCmdKey(ref message, Keys.Control | Keys.Back)); 5971Assert.True(control.ProcessCmdKey(ref message, Keys.Control | Keys.Back)); 5989Assert.True(control.ProcessCmdKey(ref message, Keys.Control | Keys.Back)); 6006Assert.True(control.ProcessCmdKey(ref message, Keys.Control | Keys.Back));