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