8 references to Cancel
System.Windows.Forms (2)
System\Windows\Forms\OLE\DropSource.cs (2)
37action = DragAction.Cancel; 53DragAction.Cancel => HRESULT.DRAGDROP_S_CANCEL,
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (3)
1077e.Action = DragAction.Cancel; 1089if (e.Action == DragAction.Cancel || _lastEffect == DragDropEffects.None) 1097e.Action = DragAction.Cancel;
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
952e.Action = DragAction.Cancel;
System.Windows.Forms.Tests (1)
System\Windows\Forms\ToolStripControlHostTests.cs (1)
4105c.OnQueryContinueDrag(new QueryContinueDragEventArgs(0, false, DragAction.Cancel));
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
863e.Action = DragAction.Cancel;