1 write to KeyData
System.Windows.Forms (1)
System\Windows\Forms\Input\KeyEventArgs.cs (1)
19
KeyData
= keyData;
58 references to KeyData
System.Windows.Forms (53)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
1120
if (kevent.
KeyData
== Keys.Space)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (22)
15683
switch (e.
KeyData
& Keys.KeyCode)
15749
if (_dataGridViewOper[OperationTrackKeyboardColResize] && (e.
KeyData
& Keys.Alt) != Keys.Alt)
21966
((IDataGridViewEditingControl)EditingControl).EditingControlWantsInputKey(ke.
KeyData
, dataGridViewWantsInputKey);
24416
return ProcessTabKey(e.
KeyData
);
24421
return ProcessUpKey(e.
KeyData
);
24426
return ProcessDownKey(e.
KeyData
);
24431
return ProcessNextKey(e.
KeyData
);
24436
return ProcessPriorKey(e.
KeyData
);
24441
return ProcessLeftKey(e.
KeyData
);
24446
return ProcessRightKey(e.
KeyData
);
24451
return ProcessF2Key(e.
KeyData
);
24456
return ProcessF3Key(e.
KeyData
);
24463
return ProcessControlShiftF10Keys(e.
KeyData
);
24471
return ProcessHomeKey(e.
KeyData
);
24477
return ProcessZeroKey(e.
KeyData
);
24482
return ProcessDeleteKey(e.
KeyData
);
24487
return ProcessEndKey(e.
KeyData
);
24492
return ProcessEnterKey(e.
KeyData
);
24497
return ProcessEscapeKey(e.
KeyData
);
24502
return ProcessAKey(e.
KeyData
);
24508
return ProcessInsertKey(e.
KeyData
);
24513
return ProcessSpaceKey(e.
KeyData
);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
2700
if (ProcessDialogKey(e.
KeyData
))
2913
if (e.
KeyData
== (Keys.C | Keys.Alt | Keys.Shift | Keys.Control))
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (1)
141
if (ProcessDialogKey(e.
KeyData
))
System\Windows\Forms\Controls\TabControl\TabControl.cs (4)
1376
if (ke.KeyCode == Keys.Tab && (ke.
KeyData
& Keys.Control) != 0)
1378
bool forward = (ke.
KeyData
& Keys.Shift) == 0;
1382
if (ke.KeyCode == Keys.PageDown && (ke.
KeyData
& Keys.Control) != 0)
1387
if (ke.KeyCode == Keys.PageUp && (ke.
KeyData
& Keys.Control) != 0)
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
2257
if (CheckBoxes && (e.
KeyData
& Keys.KeyCode) == Keys.Space)
2287
if ((e.
KeyData
& Keys.KeyCode) == Keys.Space)
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (2)
598
if (e.
KeyData
== Keys.Up)
605
else if (e.
KeyData
== Keys.Down)
System\Windows\Forms\Input\KeyEventArgs.cs (6)
25
public virtual bool Alt => (
KeyData
& Keys.Alt) == Keys.Alt;
30
public bool Control => (
KeyData
& Keys.Control) == Keys.Control;
45
Keys keyGenerated =
KeyData
& Keys.KeyCode;
61
public int KeyValue => (int)(
KeyData
& Keys.KeyCode);
74
public Keys Modifiers =>
KeyData
& Keys.Modifiers;
79
public virtual bool Shift => (
KeyData
& Keys.Shift) == Keys.Shift;
System\Windows\Forms\Layout\Containers\SplitContainer.cs (13)
935
if (e.
KeyData
== Keys.Escape && _splitBegin)
944
&& (e.
KeyData
== Keys.Right || e.
KeyData
== Keys.Down || e.
KeyData
== Keys.Left || e.
KeyData
== Keys.Up))
952
if (_splitterFocused && (e.
KeyData
== Keys.Left || e.
KeyData
== Keys.Up))
959
if (_splitterFocused && (e.
KeyData
== Keys.Right || e.
KeyData
== Keys.Down))
1011
&& (e.
KeyData
== Keys.Right || e.
KeyData
== Keys.Down || e.
KeyData
== Keys.Left || e.
KeyData
== Keys.Up))
System.Windows.Forms.Design (4)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
634
switch (e.
KeyData
)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
200
if (e.
KeyData
== Keys.Enter)
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
2090
if (e.
KeyData
== Keys.Return && SelectedNode is not null)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1109
if (e.KeyCode == Keys.A && (e.
KeyData
& Keys.Control) != 0)
System.Windows.Forms.Tests (1)
System\Windows\Forms\KeyEventArgsTests.cs (1)
25
Assert.Equal(keyData, e.
KeyData
);