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