8 references to Modifiers
System.Windows.Forms (3)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
2504
&& (e.
Modifiers
& ~Keys.Shift) != 0)
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (2)
1864
if (keyCode == Keys.Insert && e.
Modifiers
== Keys.None && _insertMode == InsertKeyMode.Default)
1905
switch (e.
Modifiers
)
System.Windows.Forms.Design (2)
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
106
if (e is { Control: true, KeyCode: Keys.Return,
Modifiers
: Keys.Control })
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
1037
if ((e.
Modifiers
) == 0 && e.KeyCode == Keys.F4)
System.Windows.Forms.Tests (3)
System\Windows\Forms\KeyEventArgsTests.cs (1)
29
Assert.Equal((keyData & Keys.Modifiers), e.
Modifiers
);
System\Windows\Forms\SendKeysTests.cs (2)
21
Assert.Equal(Keys.Control, form.KeyEvents[1].
Modifiers
);
24
Assert.Equal(Keys.Control, form.KeyEvents[3].
Modifiers
);