48 references to Escape
System.Windows.Forms (37)
winforms\Managed\System\WinForms\BindingNavigator.cs (1)
707
case Keys.
Escape
:
winforms\Managed\System\WinForms\ComboBox.cs (6)
1666
if (keyChar == (char)(int)Keys.
Escape
) {
2256
else if (keyChar == (char)Keys.
Escape
) {
2261
if (keyChar != (char)Keys.
Escape
&& keyChar != (char)Keys.Return && !DroppedDown
2311
if (keyCode == Keys.Return || keyCode == Keys.
Escape
) {
2583
else if ((e.KeyCode == Keys.
Escape
) && autoCompleteDroppedDown) {
2605
if (!e.Handled && (e.KeyChar == (char)(int)Keys.Return || e.KeyChar == (char)(int)Keys.
Escape
)
winforms\Managed\System\WinForms\Control.cs (2)
15285
if (IsInputKey(Keys.
Escape
)) {
16223
|| IsKeyDown(Keys.
Escape
);
winforms\Managed\System\WinForms\DataGrid.cs (3)
7489
case Keys.
Escape
:
8172
case Keys.
Escape
:
8220
case Keys.
Escape
:
winforms\Managed\System\WinForms\DataGridTextBox.cs (1)
106
if ((key | modifierKeys) == Keys.Enter || (key | modifierKeys) == Keys.
Escape
|| ((key | modifierKeys) == (Keys.Enter | Keys.Control))
winforms\Managed\System\WinForms\DataGridViewComboBoxEditingControl.cs (1)
151
(this.DroppedDown && ((keyData & Keys.KeyCode) == Keys.
Escape
) || (keyData & Keys.KeyCode) == Keys.Enter))
winforms\Managed\System\WinForms\DataGridViewMethods.cs (6)
10250
case Keys.
Escape
:
16171
case Keys.
Escape
:
20602
else if (key == Keys.
Escape
)
22382
case Keys.
Escape
:
22400
case Keys.
Escape
:
24715
case Keys.
Escape
:
winforms\Managed\System\WinForms\Form.cs (1)
5331
case Keys.
Escape
:
winforms\Managed\System\WinForms\ListView.cs (1)
4017
case Keys.
Escape
:
winforms\Managed\System\WinForms\MaskedTextBox.cs (1)
2058
if( keyCode == Keys.Return || keyCode == Keys.
Escape
)
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (4)
2281
case Keys.
Escape
:
5930
case Keys.
Escape
:
6662
case Keys.
Escape
:
6811
case Keys.
Escape
:
winforms\Managed\System\WinForms\SendKeys.cs (2)
41
new KeywordVk("ESC", (int)Keys.
Escape
),
42
new KeywordVk("ESCAPE", (int)Keys.
Escape
),
winforms\Managed\System\WinForms\SplitContainer.cs (2)
1137
if (e.KeyData == Keys.
Escape
&& splitBegin) {
2550
if ((m.Msg == NativeMethods.WM_KEYDOWN && (int)m.WParam == (int)Keys.
Escape
)
winforms\Managed\System\WinForms\Splitter.cs (2)
868
if (splitTarget != null && e.KeyCode == Keys.
Escape
) {
1086
if (m.Msg == NativeMethods.WM_KEYDOWN && unchecked((int)(long)m.WParam) == (int)Keys.
Escape
) {
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
1526
case Keys.
Escape
:
winforms\Managed\System\WinForms\ToolStrip.cs (1)
2969
case Keys.
Escape
: // escape and menu key should restore focus
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
1595
else if ((keyData & Keys.KeyCode) == Keys.
Escape
) {
winforms\Managed\System\WinForms\TreeView.cs (1)
1935
case Keys.
Escape
:
System.Workflow.Activities (2)
Rules\Design\Dialogs\IntellisenseTextBox.cs (1)
621
case Keys.
Escape
:
Rules\Design\Dialogs\RuleSetDialog.cs (1)
539
if (keyData.Equals(Keys.
Escape
))
System.Workflow.ComponentModel (9)
AuthoringOM\Design\CommandSet.cs (1)
702
SendKeyDownCommand(Keys.
Escape
);
AuthoringOM\Design\DesignerWidgets.cs (1)
1142
else if (e.KeyCode == Keys.
Escape
)
AuthoringOM\Design\MessageFilters\ConnectionManager.cs (1)
219
if (EditingInProgress && eventArgs.KeyValue == (int)Keys.
Escape
)
AuthoringOM\Design\MessageFilters\DragDropManager.cs (1)
196
if (eventArgs.KeyValue == (int)Keys.
Escape
)
AuthoringOM\Design\MessageFilters\DragSelectionMessageFilter.cs (1)
109
if (eventArgs.KeyValue == (int)Keys.
Escape
)
AuthoringOM\Design\MessageFilters\PanningMessageFilter.cs (1)
97
if (eventArgs.KeyValue == (int)Keys.
Escape
)
AuthoringOM\Design\MessageFilters\ResizingMessageFilter.cs (1)
97
if (eventArgs.KeyValue == (int)Keys.
Escape
&& this.designerToResize != null)
AuthoringOM\Design\MessageFilters\WindowManager.cs (1)
239
else if (eventArgs.KeyCode == Keys.
Escape
)
AuthoringOM\Design\MessageFilters\ZoomingMessageFilter.cs (1)
128
if (eventArgs.KeyValue == (int)Keys.
Escape
)