5 writes to DragImage
System.Windows.Forms (1)
System\Windows\Forms\GiveFeedbackEventArgs.cs (1)
28
DragImage
= dragImage;
System.Windows.Forms.Tests (1)
System\Windows\Forms\GiveFeedbackEventArgsTests.cs (1)
44
DragImage
= value
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
351
e.
DragImage
= _dragImage;
WinFormsControlsTest (2)
DragDrop.cs (2)
193
e.
DragImage
= _nyanCatAscii301Bmp;
203
e.
DragImage
= _nyanCatBmp;
15 references to DragImage
System.Windows.Forms (11)
System\Windows\Forms\GiveFeedbackEventArgs.cs (7)
48
/// Note the outer edges of <see cref="
DragImage
"/> are blended out if the image width or height exceeds 300 pixels.
58
/// Specifies the location of the cursor within <see cref="
DragImage
"/>, which is an offset from the upper-left corner.
89
&& ((giveFeedbackEventArgs.
DragImage
is null &&
DragImage
is null)
90
|| (giveFeedbackEventArgs.
DragImage
is not null && giveFeedbackEventArgs.
DragImage
.Equals(
DragImage
)))
System\Windows\Forms\OLE\DragDropHelper.cs (1)
313
SetDragImage(dataObject, e.
DragImage
, e.CursorOffset, e.UseDefaultDragImage);
System\Windows\Forms\OLE\DropSource.cs (3)
65
_lastGiveFeedbackEventArgs.
DragImage
,
71
if (IsDropTargetWindowInCurrentThread() && gfbEvent.
DragImage
is not null && !gfbEvent.Equals(_lastGiveFeedbackEventArgs))
109
if (IsDropTargetWindowInCurrentThread() && _lastGiveFeedbackEventArgs?.
DragImage
is not null)
System.Windows.Forms.Tests (4)
System\Windows\Forms\DragDropHelperTests.cs (3)
146
(e.
DragImage
is null).Should().Be(isDragImageNull);
147
(e.
DragImage
is null ? new Size(0, 0) : e.
DragImage
.Size).Should().Be(dragImageSize);
System\Windows\Forms\GiveFeedbackEventArgsTests.cs (1)
46
Assert.Equal(value, e.
DragImage
);