27 writes to Effect
System.Windows.Forms (6)
winforms\Managed\System\WinForms\RichTextBox.cs (2)
3923
e.
Effect
= ((keyState & NativeMethods.MK_CONTROL) == NativeMethods.MK_CONTROL) ? DragDropEffects.Copy : DragDropEffects.Move;
4006
e.
Effect
= ((grfKeyState & NativeMethods.MK_CONTROL) == NativeMethods.MK_CONTROL) ? DragDropEffects.Copy : DragDropEffects.Move;
winforms\Managed\System\WinForms\ToolStrip.cs (3)
5363
e.
Effect
= DragDropEffects.Move;
5389
e.
Effect
= DragDropEffects.Move;
5395
e.
Effect
= DragDropEffects.None;
winforms\Managed\System\WinForms\ToolStripDropTargetManager.cs (1)
315
dragEnterArgs.
Effect
= DragDropEffects.None;
System.Workflow.Activities (2)
Designers\StateDesigner.cs (2)
1283
e.
Effect
= CheckDragEffect(e);
1292
e.
Effect
= CheckDragEffect(e);
System.Workflow.ComponentModel (19)
AuthoringOM\Design\FreeFormDesigner.cs (4)
854
e.
Effect
= DragDropEffects.Copy;
856
e.
Effect
= DragDropEffects.Move;
864
e.
Effect
= DragDropEffects.Copy;
866
e.
Effect
= DragDropEffects.Move;
AuthoringOM\Design\MessageFilters\DragDropManager.cs (11)
242
eventArgs.
Effect
= DragDropEffects.None;
310
eventArgs.
Effect
= dragdropEventArgs.Effect;
313
eventArgs.
Effect
= (this.wasCtrlKeyPressed) ? DragDropEffects.Copy : DragDropEffects.Move;
321
eventArgs.
Effect
= DragDropEffects.None;
356
dragdropEventArgs.
Effect
= DragDropEffects.None;
388
eventArgs.
Effect
= dragdropEventArgs.Effect;
401
eventArgs.
Effect
= (this.wasCtrlKeyPressed) ? DragDropEffects.Copy : DragDropEffects.Move;
413
eventArgs.
Effect
= DragDropEffects.None;
465
dragdropEventArgs.
Effect
= DragDropEffects.None;
540
dragdropEventArgs.
Effect
= DragDropEffects.None;
560
eventArgs.
Effect
= dragdropEventArgs.Effect;
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (4)
489
e.
Effect
= CheckDragEffect(e);
498
e.
Effect
= CheckDragEffect(e);
516
e.
Effect
= DragDropEffects.Copy;
518
e.
Effect
= DragDropEffects.Move;
19 references to Effect
System.Windows.Forms (9)
winforms\Managed\System\WinForms\DropTarget.cs (5)
73
pdwEffect = (int)drgevent.
Effect
;
74
lastEffect = drgevent.
Effect
;
89
pdwEffect = (int)drgevent.
Effect
;
90
lastEffect = drgevent.
Effect
;
108
pdwEffect = (int)drgevent.
Effect
;
winforms\Managed\System\WinForms\RichTextBox.cs (3)
3931
lastEffect = e.
Effect
;
3932
if (e.
Effect
== DragDropEffects.None) {
4010
lastEffect = e.
Effect
;
winforms\Managed\System\WinForms\ToolStripDropTargetManager.cs (1)
314
DragEventArgs dragEnterArgs = new DragEventArgs(e.Data, e.KeyState, e.X, e.Y, e.AllowedEffect, e.
Effect
);
System.Workflow.Activities (1)
Designers\StateDesigner.cs (1)
1642
return e.
Effect
;
System.Workflow.ComponentModel (9)
AuthoringOM\Design\DesignerInterfaces.cs (1)
181
: base(dragEventArgs.Data, dragEventArgs.KeyState, point.X, point.Y, dragEventArgs.AllowedEffect, dragEventArgs.
Effect
)
AuthoringOM\Design\MessageFilters\DragDropManager.cs (7)
310
eventArgs.Effect = dragdropEventArgs.
Effect
;
312
if (eventArgs.
Effect
== DragDropEffects.None && this.exceptionInDragDrop)
379
if (DragDropEffects.None != dragdropEventArgs.
Effect
&& !dragdropEventArgs.DragImageSnapPoint.IsEmpty)
388
eventArgs.Effect = dragdropEventArgs.
Effect
;
400
if (eventArgs.
Effect
== DragDropEffects.None && this.exceptionInDragDrop)
503
if (dragdropEventArgs.
Effect
== DragDropEffects.Move)
560
eventArgs.Effect = dragdropEventArgs.
Effect
;
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (1)
759
return e.
Effect
;