106 references to DragDropEffects
PresentationCore (36)
Core\CSharp\System\Windows\DragDrop.cs (28)
389
public static
DragDropEffects
DoDragDrop(DependencyObject dragSource, object data,
DragDropEffects
allowedEffects)
435
DragDropEffects
ret = OleDoDragDrop(dragSource, dataObject, allowedEffects);
525
internal static bool IsValidDragDropEffects(
DragDropEffects
dragDropEffects)
529
dragDropEffectsAll = (int)(
DragDropEffects
.None |
530
DragDropEffects
.Copy |
531
DragDropEffects
.Move |
532
DragDropEffects
.Link |
533
DragDropEffects
.Scroll |
534
DragDropEffects
.All);
606
private static
DragDropEffects
OleDoDragDrop(DependencyObject dragSource, DataObject dataObject,
DragDropEffects
allowedEffects)
630
return (
DragDropEffects
)dwEffect[0];
718
args = new GiveFeedbackEventArgs((
DragDropEffects
)effect, /*UseDefaultCursors*/ false);
968
effects = (int)
DragDropEffects
.None;
992
effects = (int)
DragDropEffects
.None;
1076
effects = (int)
DragDropEffects
.None;
1129
effects = (int)
DragDropEffects
.None;
1153
effects = (int)
DragDropEffects
.None;
1177
(
DragDropEffects
)effects,
1269
e.Effects =
DragDropEffects
.None;
1274
if ((e.AllowedEffects &
DragDropEffects
.Move) != 0)
1276
e.Effects =
DragDropEffects
.Move;
1283
e.Effects =
DragDropEffects
.Copy;
1297
e.Effects =
DragDropEffects
.None;
1302
if ((e.AllowedEffects &
DragDropEffects
.Move) != 0)
1304
e.Effects =
DragDropEffects
.Move;
1311
e.Effects =
DragDropEffects
.Copy;
Core\CSharp\System\Windows\DragEventArgs.cs (5)
57
internal DragEventArgs(IDataObject data, DragDropKeyStates dragDropKeyStates,
DragDropEffects
allowedEffects, DependencyObject target, Point point)
145
public
DragDropEffects
AllowedEffects
156
public
DragDropEffects
Effects
211
private
DragDropEffects
_allowedEffects;
212
private
DragDropEffects
_effects;
Core\CSharp\System\Windows\GiveFeedbackEventArgs.cs (3)
42
internal GiveFeedbackEventArgs(
DragDropEffects
effects, bool useDefaultCursors)
66
public
DragDropEffects
Effects
125
private
DragDropEffects
_effects;
PresentationFramework (33)
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (33)
240
DragDropEffects
allowedDragDropEffects =
DragDropEffects
.Copy;
243
allowedDragDropEffects |=
DragDropEffects
.Move;
246
DragDropEffects
resultingDragDropEffects =
DragDropEffects
.None;
266
resultingDragDropEffects ==
DragDropEffects
.Move && //
330
if ((e.AllowedEffects &
DragDropEffects
.Move) != 0)
332
e.Effects =
DragDropEffects
.Move;
338
e.Effects |=
DragDropEffects
.Copy;
354
if ((e.AllowedEffects &
DragDropEffects
.Move) != 0)
356
e.Effects =
DragDropEffects
.Move;
362
e.Effects |=
DragDropEffects
.Copy;
540
if (e.Data == null || e.AllowedEffects ==
DragDropEffects
.None)
542
e.Effects =
DragDropEffects
.None;
548
e.Effects =
DragDropEffects
.Copy;
550
else if (e.Effects !=
DragDropEffects
.Copy)
552
e.Effects =
DragDropEffects
.Move;
559
e.Effects =
DragDropEffects
.None;
581
e.Effects =
DragDropEffects
.None;
596
if ((e.Effects &
DragDropEffects
.Move) != 0 && //
626
e.Effects =
DragDropEffects
.None;
672
e.Effects =
DragDropEffects
.None;
810
e.Effects =
DragDropEffects
.None;
817
e.Effects =
DragDropEffects
.None;
824
e.Effects =
DragDropEffects
.None;
831
e.Effects =
DragDropEffects
.None;
839
e.Effects =
DragDropEffects
.None;
858
e.Effects =
DragDropEffects
.None;
865
e.Effects =
DragDropEffects
.None;
872
e.Effects =
DragDropEffects
.None;
879
e.Effects =
DragDropEffects
.None;
886
e.Effects =
DragDropEffects
.None;
914
e.Effects =
DragDropEffects
.None;
System.Activities.Core.Presentation (8)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (3)
1527
e.Effects =
DragDropEffects
.None;
1715
DragDropHelper.SetDragDropCompletedEffects(e,
DragDropEffects
.Move);
1940
e.Effects =
DragDropEffects
.None;
System\Activities\Core\Presentation\ParallelSeparator.xaml.cs (1)
74
e.Effects =
DragDropEffects
.None;
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (3)
1880
e.Effects =
DragDropEffects
.None;
2051
e.Effects |=
DragDropEffects
.Move;
2055
e.Effects =
DragDropEffects
.None;
System\Activities\Core\Presentation\VerticalConnector.xaml.cs (1)
69
e.Effects =
DragDropEffects
.None;
System.Activities.Presentation (29)
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (14)
117
DragDrop.DoDragDrop(designerView, dataObject,
DragDropEffects
.Move |
DragDropEffects
.Copy |
DragDropEffects
.Scroll |
DragDropEffects
.Link);
140
public static
DragDropEffects
DoDragMove(WorkflowViewElement draggedViewElement, Point referencePoint)
167
DragDrop.DoDragDrop(GetCompositeView(draggedViewElement), dataObject,
DragDropEffects
.Move |
DragDropEffects
.Copy |
DragDropEffects
.Scroll |
DragDropEffects
.Link);
661
public static void SetDragDropCompletedEffects(DragEventArgs e,
DragDropEffects
completedEffects)
674
public static
DragDropEffects
GetDragDropCompletedEffects(DataObject data)
680
DragDropEffects
completedEffects =
DragDropEffects
.None;
683
completedEffects = (
DragDropEffects
)data.GetData(CompletedEffectsFormat);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoConnectAdorner.cs (1)
135
e.Effects |=
DragDropEffects
.Move;
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxControl.cs (2)
362
DragDrop.DoDragDrop(this, dataObject,
DragDropEffects
.Link |
DragDropEffects
.Copy);
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (5)
237
DragDropHelper.SetDragDropCompletedEffects(e,
DragDropEffects
.Move);
547
DragDropHelper.SetDragDropCompletedEffects(args,
DragDropEffects
.Move);
574
DragDropHelper.SetDragDropCompletedEffects(e,
DragDropEffects
.None);
614
args.Effects =
DragDropEffects
.None;
951
args.Effects =
DragDropEffects
.None;
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (3)
616
DragDropHelper.SetDragDropCompletedEffects(e,
DragDropEffects
.None);
676
DragDropHelper.SetDragDropCompletedEffects(e,
DragDropEffects
.Move);
785
e.Effects =
DragDropEffects
.None;
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (4)
856
e.Effects =
DragDropEffects
.None;
998
DragDropEffects
executedDragDropEffect = DragDropHelper.GetDragDropCompletedEffects(dataObject);
999
if (executedDragDropEffect ==
DragDropEffects
.Move)
1016
|| DragDropHelper.GetDragDropCompletedEffects(dataObject) ==
DragDropEffects
.Move;