57 references to KeyCode
System.Windows.Forms (57)
winforms\Managed\System\WinForms\ComboBox.cs (1)
2310
Keys keyCode = keyData & (Keys.
KeyCode
| Keys.Alt);
winforms\Managed\System\WinForms\ContainerControl.cs (1)
1189
Keys keyCode = (Keys)keyData & Keys.
KeyCode
;
winforms\Managed\System\WinForms\Control.cs (2)
7646
switch (keyData & Keys.
KeyCode
) {
10770
Keys keyCode = (Keys)((int)msg.WParam) & Keys.
KeyCode
;
winforms\Managed\System\WinForms\DataGrid.cs (1)
7480
switch (keyData & Keys.
KeyCode
) {
winforms\Managed\System\WinForms\DataGridBoolColumn.cs (1)
310
if ((keyData & Keys.
KeyCode
) == Keys.Space) {
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (2)
386
if ((keyData & Keys.Modifiers) == Keys.Shift && (keyData & Keys.
KeyCode
) != Keys.Tab)
389
switch (keyData & Keys.
KeyCode
) {
winforms\Managed\System\WinForms\DataGridTextBox.cs (1)
129
Keys keyData = key & Keys.
KeyCode
;
winforms\Managed\System\WinForms\DataGridViewComboBoxEditingControl.cs (4)
149
if ((keyData & Keys.
KeyCode
) == Keys.Down ||
150
(keyData & Keys.
KeyCode
) == Keys.Up ||
151
(this.DroppedDown && ((keyData & Keys.
KeyCode
) == Keys.Escape) || (keyData & Keys.
KeyCode
) == Keys.Enter))
winforms\Managed\System\WinForms\DataGridViewMethods.cs (4)
10248
switch (keyData & Keys.
KeyCode
)
16159
switch (e.KeyData & Keys.
KeyCode
)
20593
Keys key = (keyData & Keys.
KeyCode
);
22287
((keyData & (Keys.Shift | Keys.Control | Keys.Alt)) == (Keys.Control | Keys.Shift) && (keyData & Keys.
KeyCode
) == Keys.C)) &&
winforms\Managed\System\WinForms\DataGridViewTextBoxEditingControl.cs (1)
157
switch (keyData & Keys.
KeyCode
)
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
1204
switch (keyData & Keys.
KeyCode
) {
winforms\Managed\System\WinForms\Form.cs (1)
5317
Keys keyCode = (Keys)keyData & Keys.
KeyCode
;
winforms\Managed\System\WinForms\KeyEvent.cs (2)
115
Keys keyGenerated = keyData & Keys.
KeyCode
;
135
return (int)(keyData & Keys.
KeyCode
);
winforms\Managed\System\WinForms\KeysConverter.cs (2)
187
if ((currentKey & Keys.
KeyCode
) != 0) {
278
Keys keyOnly = (key & Keys.
KeyCode
);
winforms\Managed\System\WinForms\LinkLabel.cs (1)
1553
Keys keyCode = keyData & Keys.
KeyCode
;
winforms\Managed\System\WinForms\ListControl.cs (1)
611
switch (keyData & Keys.
KeyCode
) {
winforms\Managed\System\WinForms\ListView.cs (2)
4002
switch (keyData & Keys.
KeyCode
) {
4015
switch (keyData & Keys.
KeyCode
) {
winforms\Managed\System\WinForms\MaskedTextBox.cs (1)
591
if ((keyData & Keys.
KeyCode
) == Keys.Return)
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
1612
switch (keyData & Keys.
KeyCode
) {
winforms\Managed\System\WinForms\PreviewKeyDownEventArgs.cs (2)
72
Keys keyGenerated = _keyData & Keys.
KeyCode
;
92
return (int)(_keyData & Keys.
KeyCode
);
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (1)
816
switch (keyData & Keys.
KeyCode
) {
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
1613
Keys keyCode = (Keys)keyData & Keys.
KeyCode
;
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
3741
switch (keyData & Keys.
KeyCode
) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (7)
2280
switch (keyData & Keys.
KeyCode
) {
3958
Keys keyCode = keyData & Keys.
KeyCode
;
5929
switch (keyData & Keys.
KeyCode
) {
6661
switch (keyData & Keys.
KeyCode
) {
6732
switch (keyData & Keys.
KeyCode
) {
6804
switch (keyData & Keys.
KeyCode
) {
6821
if ((keyData & Keys.
KeyCode
) == Keys.Tab && ((keyData & (Keys.Control | Keys.Alt)) == 0)) {
winforms\Managed\System\WinForms\SplitContainer.cs (1)
2412
Keys keyCode = (Keys)keyData & Keys.
KeyCode
;
winforms\Managed\System\WinForms\TabControl.cs (1)
1321
switch (keyData & Keys.
KeyCode
) {
winforms\Managed\System\WinForms\TextBox.cs (1)
587
switch (keyData & Keys.
KeyCode
) {
winforms\Managed\System\WinForms\TextBoxBase.cs (2)
1521
switch (keyData & Keys.
KeyCode
) {
1601
Keys keyCode = (Keys)keyData & Keys.
KeyCode
;
winforms\Managed\System\WinForms\ToolStrip.cs (2)
2894
(keyData & Keys.Control) == Keys.Control && (keyData & Keys.
KeyCode
) == Keys.Tab;
2939
Keys keyCode = (Keys)keyData & Keys.
KeyCode
;
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
1595
else if ((keyData & Keys.
KeyCode
) == Keys.Escape) {
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (1)
546
Keys keyCode = (Keys)keyData & Keys.
KeyCode
;
winforms\Managed\System\WinForms\ToolStripManager.cs (2)
1478
Keys keyCode = (Keys)(shortcut & Keys.
KeyCode
);
1511
Keys keyCode = keyData & Keys.
KeyCode
;
winforms\Managed\System\WinForms\TrackBar.cs (1)
907
switch (keyData & Keys.
KeyCode
) {
winforms\Managed\System\WinForms\TreeView.cs (3)
1933
switch (keyData & Keys.
KeyCode
) {
2322
if (CheckBoxes && (e.KeyData & Keys.
KeyCode
) == Keys.Space) {
2345
if ((e.KeyData & Keys.
KeyCode
) == Keys.Space) {