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