25 writes to DropImageType
System.Windows.Forms (3)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.OleCallback.cs (1)
150e.DropImageType = DropImageType.Invalid;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropTargetManager.cs (1)
214DropImageType = DropImageType.Invalid,
System\Windows\Forms\OLE\DragEventArgs.cs (1)
46DropImageType = dropImageType;
System.Windows.Forms.Tests (1)
System\Windows\Forms\DragEventArgsTests.cs (1)
70DropImageType = value
System.Windows.Forms.UI.IntegrationTests (5)
DragDropTests.cs (5)
358e.DropImageType = dropImageType; 1071e.DropImageType = DropImageType.Link; 1098e.DropImageType = DropImageType.None; 1126e.DropImageType = DropImageType.Link; 1137e.DropImageType = DropImageType.None;
WinFormsControlsTest (16)
DragDrop.cs (16)
101e.DropImageType = DropImageType.Warning; 119e.DropImageType = DropImageType.Copy; 131e.DropImageType = DropImageType.None; 144e.DropImageType = DropImageType.Copy; 236e.DropImageType = DropImageType.Copy; 247e.DropImageType = DropImageType.None; 257e.DropImageType = DropImageType.None; 278e.DropImageType = DropImageType.Copy; 289e.DropImageType = DropImageType.None; 299e.DropImageType = DropImageType.None; 322e.DropImageType = DropImageType.Link; 329e.DropImageType = DropImageType.None; 336e.DropImageType = DropImageType.None; 513e.DropImageType = DropImageType.Link; 520e.DropImageType = DropImageType.Link; 527e.DropImageType = DropImageType.Link;
22 references to DropImageType
System.Windows.Forms (15)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.OleCallback.cs (4)
142_lastDragEventArgs.DropImageType, 171if (e.DropImageType > DropImageType.Invalid) 243_lastDragEventArgs.DropImageType, 287=> e.Effect != DragDropEffects.None && e.DropImageType > DropImageType.Invalid && _owner.IsHandleCreated;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropTargetManager.cs (3)
199if (e.DropImageType > DropImageType.Invalid) 211DragEventArgs dragEnterArgs = new(e.Data, e.KeyState, e.X, e.Y, e.AllowedEffect, e.Effect, e.DropImageType, e.Message, e.MessageReplacementToken) 223if (dragEnterArgs.DropImageType > DropImageType.Invalid && _owner is ToolStrip toolStrip && toolStrip.IsHandleCreated)
System\Windows\Forms\OLE\DragDropHelper.cs (1)
390SetDropDescription(dataObject, e.DropImageType, e.Message, e.MessageReplacementToken);
System\Windows\Forms\OLE\DragEventArgs.cs (2)
130&& dragEventArgs.DropImageType == DropImageType
System\Windows\Forms\OLE\DropTarget.cs (5)
87_lastDragEventArgs.DropImageType, 110if (dragEvent.DropImageType > DropImageType.Invalid) 137if (dragEvent.DropImageType > DropImageType.Invalid) 153if (_lastDragEventArgs?.DropImageType > DropImageType.Invalid) 173if (_lastDragEventArgs?.DropImageType > DropImageType.Invalid)
System.Windows.Forms.Tests (3)
System\Windows\Forms\DragDropHelperTests.cs (1)
278Assert.Equal((DROPIMAGETYPE)e.DropImageType, type);
System\Windows\Forms\DragEventArgsTests.cs (2)
46Assert.Equal(dropImageType, e.DropImageType); 72Assert.Equal(value, e.DropImageType);
System.Windows.Forms.UI.IntegrationTests (2)
DragDropTests.cs (2)
366Assert.Equal(dropImageType, e.DropImageType); 373Assert.Equal(dropImageType, e.DropImageType);
WinFormsControlsTest (2)
DragDrop.cs (2)
122e.Message = $"{e.DropImageType} %1 from Explorer"; 147e.Message = $"{e.DropImageType} %1 from WinForms";