69 references to DragDropEffects
PresentationCore (36)
System\Windows\DragDrop.cs (28)
369
public static
DragDropEffects
DoDragDrop(DependencyObject dragSource, object data,
DragDropEffects
allowedEffects)
406
DragDropEffects
ret = OleDoDragDrop(dragSource, dataObject, allowedEffects);
481
internal static bool IsValidDragDropEffects(
DragDropEffects
dragDropEffects)
485
dragDropEffectsAll = (int)(
DragDropEffects
.None |
486
DragDropEffects
.Copy |
487
DragDropEffects
.Move |
488
DragDropEffects
.Link |
489
DragDropEffects
.Scroll |
490
DragDropEffects
.All);
561
private static
DragDropEffects
OleDoDragDrop(DependencyObject dragSource, DataObject dataObject,
DragDropEffects
allowedEffects)
585
return (
DragDropEffects
)dwEffect[0];
673
args = new GiveFeedbackEventArgs((
DragDropEffects
)effect, /*UseDefaultCursors*/ false);
923
effects = (int)
DragDropEffects
.None;
947
effects = (int)
DragDropEffects
.None;
1031
effects = (int)
DragDropEffects
.None;
1084
effects = (int)
DragDropEffects
.None;
1108
effects = (int)
DragDropEffects
.None;
1132
(
DragDropEffects
)effects,
1224
e.Effects =
DragDropEffects
.None;
1229
if ((e.AllowedEffects &
DragDropEffects
.Move) != 0)
1231
e.Effects =
DragDropEffects
.Move;
1238
e.Effects =
DragDropEffects
.Copy;
1252
e.Effects =
DragDropEffects
.None;
1257
if ((e.AllowedEffects &
DragDropEffects
.Move) != 0)
1259
e.Effects =
DragDropEffects
.Move;
1266
e.Effects =
DragDropEffects
.Copy;
System\Windows\DragEventArgs.cs (5)
41
internal DragEventArgs(IDataObject data, DragDropKeyStates dragDropKeyStates,
DragDropEffects
allowedEffects, DependencyObject target, Point point)
126
public
DragDropEffects
AllowedEffects
137
public
DragDropEffects
Effects
192
private
DragDropEffects
_allowedEffects;
193
private
DragDropEffects
_effects;
System\Windows\GiveFeedbackEventArgs.cs (3)
37
internal GiveFeedbackEventArgs(
DragDropEffects
effects, bool useDefaultCursors)
61
public
DragDropEffects
Effects
120
private
DragDropEffects
_effects;
PresentationFramework (33)
System\windows\Documents\TextEditorDragDrop.cs (33)
212
DragDropEffects
allowedDragDropEffects =
DragDropEffects
.Copy;
215
allowedDragDropEffects |=
DragDropEffects
.Move;
218
DragDropEffects
resultingDragDropEffects =
DragDropEffects
.None;
237
resultingDragDropEffects ==
DragDropEffects
.Move && //
301
if ((e.AllowedEffects &
DragDropEffects
.Move) != 0)
303
e.Effects =
DragDropEffects
.Move;
309
e.Effects |=
DragDropEffects
.Copy;
325
if ((e.AllowedEffects &
DragDropEffects
.Move) != 0)
327
e.Effects =
DragDropEffects
.Move;
333
e.Effects |=
DragDropEffects
.Copy;
511
if (e.Data == null || e.AllowedEffects ==
DragDropEffects
.None)
513
e.Effects =
DragDropEffects
.None;
519
e.Effects =
DragDropEffects
.Copy;
521
else if (e.Effects !=
DragDropEffects
.Copy)
523
e.Effects =
DragDropEffects
.Move;
530
e.Effects =
DragDropEffects
.None;
552
e.Effects =
DragDropEffects
.None;
567
if ((e.Effects &
DragDropEffects
.Move) != 0 && //
597
e.Effects =
DragDropEffects
.None;
643
e.Effects =
DragDropEffects
.None;
765
e.Effects =
DragDropEffects
.None;
772
e.Effects =
DragDropEffects
.None;
779
e.Effects =
DragDropEffects
.None;
786
e.Effects =
DragDropEffects
.None;
794
e.Effects =
DragDropEffects
.None;
813
e.Effects =
DragDropEffects
.None;
820
e.Effects =
DragDropEffects
.None;
827
e.Effects =
DragDropEffects
.None;
834
e.Effects =
DragDropEffects
.None;
841
e.Effects =
DragDropEffects
.None;
869
e.Effects =
DragDropEffects
.None;