107 references to KeyCode
System.Windows.Forms (64)
winforms\Managed\System\WinForms\BindingNavigator.cs (1)
703switch (e.KeyCode) {
winforms\Managed\System\WinForms\ButtonBase.cs (2)
1111if (kevent.KeyCode == Keys.Enter || kevent.KeyCode == Keys.Space) {
winforms\Managed\System\WinForms\ComboBox.cs (2)
2579if (e.KeyCode == Keys.Return) { 2583else if ((e.KeyCode == Keys.Escape) && autoCompleteDroppedDown) {
winforms\Managed\System\WinForms\DataGrid.cs (5)
7658Debug.WriteLineIf(CompModSwitches.DataGridKeys.TraceVerbose, "DataGridKeys: ProcessGridKey "+ TypeDescriptor.GetConverter(typeof(Keys)).ConvertToString(ke.KeyCode)); 7668switch(ke.KeyCode) { 7697switch (biDiKe.KeyCode) { 8212switch (ke.KeyCode) { 8238if (ke.KeyCode == Keys.Tab)
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (4)
473return e.KeyCode == Keys.Space && !e.Alt && !e.Control && !e.Shift; 479return e.KeyCode == Keys.Space; 513if (e.KeyCode == Keys.Space && !e.Alt && !e.Control && !e.Shift) 527if (e.KeyCode == Keys.Space)
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (4)
868return e.KeyCode == Keys.Space && !e.Alt && !e.Control && !e.Shift; 874return e.KeyCode == Keys.Space; 944if (e.KeyCode == Keys.Space && !e.Alt && !e.Control && !e.Shift) 958if (e.KeyCode == Keys.Space)
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (13)
1758if (((char.IsLetterOrDigit((char)e.KeyCode) && !(e.KeyCode >= Keys.F1 && e.KeyCode <= Keys.F24)) || 1759(e.KeyCode >= Keys.NumPad0 && e.KeyCode <= Keys.Divide) || 1760(e.KeyCode >= Keys.OemSemicolon && e.KeyCode <= Keys.Oem102) || 1761(e.KeyCode == Keys.Space && !e.Shift) || 1762(e.KeyCode == Keys.F4) || 1763((e.KeyCode == Keys.Down || e.KeyCode == Keys.Up) && e.Alt)) && 1764(!e.Alt || (e.KeyCode == Keys.Down || e.KeyCode == Keys.Up)) &&
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (2)
779if (e.KeyCode == Keys.Space && !e.Alt && !e.Control && !e.Shift) 834if (e.KeyCode == Keys.Space && !e.Alt && !e.Control && !e.Shift)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (5)
22319if (ke.KeyCode != Keys.ProcessKey || (int) m.LParam != 0x01) // Changing IME context does not trigger editing mode 22335if (BeginEditInternal(!(ke.KeyCode == Keys.F2 && ModifierKeys == 0 && this.EditMode == DataGridViewEditMode.EditOnKeystrokeOrF2) /*selectAll*/)) 22380switch (ke.KeyCode) 22394switch (ke.KeyCode) 24656switch (e.KeyCode)
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (8)
560if (((char.IsLetterOrDigit((char)e.KeyCode) && !(e.KeyCode >= Keys.F1 && e.KeyCode <= Keys.F24)) || 561(e.KeyCode >= Keys.NumPad0 && e.KeyCode <= Keys.Divide) || 562(e.KeyCode >= Keys.OemSemicolon && e.KeyCode <= Keys.Oem102) || 563(e.KeyCode == Keys.Space && !e.Shift)) &&
winforms\Managed\System\WinForms\LinkLabel.cs (1)
953if (e.KeyCode == Keys.Enter) {
winforms\Managed\System\WinForms\MaskedTextBox.cs (1)
2055Keys keyCode = e.KeyCode;
winforms\Managed\System\WinForms\NumericUpDown.cs (4)
494if (base.InterceptArrowKeys && (e.KeyCode == Keys.Up || e.KeyCode == Keys.Down) && !this.Spinning) { 505if (base.InterceptArrowKeys && (e.KeyCode == Keys.Up || e.KeyCode == Keys.Down)) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (7)
2574if (ke.KeyCode == Keys.Return) { 2719if (!fAlt && (ke.KeyCode == Keys.Up || ke.KeyCode == Keys.Down)) { 2726bool processed = ProcessEnumUpAndDown(gridEntry, ke.KeyCode); 2732else if ((ke.KeyCode == Keys.Left || ke.KeyCode == Keys.Right) && 2913Keys keyCode = ke.KeyCode;
winforms\Managed\System\WinForms\Splitter.cs (1)
868if (splitTarget != null && e.KeyCode == Keys.Escape) {
winforms\Managed\System\WinForms\TabControl.cs (3)
1477if (ke.KeyCode == Keys.Tab && (ke.KeyData & Keys.Control) !=0) { 1481if (ke.KeyCode == Keys.PageDown && (ke.KeyData & Keys.Control) !=0) { 1484if (ke.KeyCode == Keys.PageUp && (ke.KeyData & Keys.Control) !=0) {
winforms\Managed\System\WinForms\UpDownBase.cs (1)
884if (e.KeyCode == Keys.Return && UserEdit) {
System.Workflow.Activities (9)
Rules\Design\Dialogs\IntellisenseTextBox.cs (9)
153System.Diagnostics.Trace.WriteLine(string.Format(CultureInfo.CurrentCulture, "KeyCode:{0}, KeyData:{1}, KeyValue:{2}", e.KeyCode, e.KeyData, e.KeyValue)); 166else if (e.KeyCode == Keys.Back) 186else if (e.KeyCode == Keys.Up) 199else if (e.KeyCode == Keys.Down) 219else if (e.KeyCode == Keys.ShiftKey 220|| e.KeyCode == Keys.ControlKey 221|| e.KeyCode == Keys.OemPeriod) 230if (e.KeyCode == Keys.Return || e.KeyCode == Keys.Space)
System.Workflow.ComponentModel (33)
AuthoringOM\Design\CompositeActivityDesigner.cs (6)
1359if (e.KeyCode == Keys.Down || 1360(e.KeyCode == Keys.Tab && !e.Shift)) 1387else if (e.KeyCode == Keys.Up || 1388(e.KeyCode == Keys.Tab && e.Shift)) 1420else if (e.KeyCode == Keys.Left) 1435else if (e.KeyCode == Keys.Right)
AuthoringOM\Design\DesignerWidgets.cs (6)
1128if (e.KeyCode == Keys.Enter) 1142else if (e.KeyCode == Keys.Escape) 1146else if (e.KeyCode == Keys.Up || e.KeyCode == Keys.Down) 1156if (e.KeyCode == Keys.Up) 1158else if (e.KeyCode == Keys.Down)
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (1)
961if (e.KeyCode == Keys.F2 && base.TreeView.SelectedNode != null)
AuthoringOM\Design\FreeFormDesigner.cs (9)
967if (e.KeyCode == Keys.Left || e.KeyCode == Keys.Right || e.KeyCode == Keys.Up || e.KeyCode == Keys.Down) 972if (e.KeyCode == Keys.Left) 974else if (e.KeyCode == Keys.Right) 976else if (e.KeyCode == Keys.Up) 978else if (e.KeyCode == Keys.Down) 999else if (e.KeyCode == Keys.Delete)
AuthoringOM\Design\MessageFilters\WindowManager.cs (11)
224if (eventArgs != null && (eventArgs.KeyCode == Keys.PageUp || eventArgs.KeyCode == Keys.PageDown)) 225UpdateViewOnPageUpDown(eventArgs.KeyCode == Keys.PageUp); 229if (eventArgs.KeyCode == Keys.Enter) 239else if (eventArgs.KeyCode == Keys.Escape) 250else if (eventArgs.KeyCode == Keys.Delete) 295else if (eventArgs.KeyCode == Keys.Left || eventArgs.KeyCode == Keys.Right || eventArgs.KeyCode == Keys.Up || eventArgs.KeyCode == Keys.Down || eventArgs.KeyCode == Keys.Tab)
System.WorkflowServices (1)
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (1)
399if (e.KeyCode == Keys.Delete && this.RemoveParameterButton.Enabled)