15 references to Modifiers
System.Windows.Forms (9)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
673Keys modifiers = shortcut & Keys.Modifiers;
System\Windows\Forms\Input\KeyEventArgs.cs (1)
74public Keys Modifiers => KeyData & Keys.Modifiers;
System\Windows\Forms\Input\KeysConverter.cs (2)
238Keys modifiers = key & Keys.Modifiers; 286Keys modifiers = key & Keys.Modifiers;
System\Windows\Forms\Input\PreviewKeyDownEventArgs.cs (1)
58public Keys Modifiers => KeyData & Keys.Modifiers;
System\Windows\Forms\Printing\PrintPreviewControl.cs (4)
915if ((keyData & Keys.Modifiers) == Keys.Control) 948if ((keyData & Keys.Modifiers) == Keys.Control) 982if ((keyData & Keys.Modifiers) == Keys.Control) 989if (_pageInfo is not null && (keyData & Keys.Modifiers) == Keys.Control)
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
764if ((keyData & Keys.Modifiers) == 0)
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (1)
269if ((keyData & Keys.Modifiers) == 0 && (keyData & Keys.KeyCode) == Keys.Escape)
System\Windows\Forms\Design\FormatStringDialog.cs (1)
237if ((keyData & Keys.Modifiers) != 0)
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
260Keys keyModifiers = keyData & Keys.Modifiers;
System.Windows.Forms.Tests (2)
System\Windows\Forms\KeyEventArgsTests.cs (1)
29Assert.Equal((keyData & Keys.Modifiers), e.Modifiers);
System\Windows\Forms\PreviewKeyDownEventArgsTests.cs (1)
29Assert.Equal((keyData & Keys.Modifiers), e.Modifiers);