5 writes to DragImage
System.Windows.Forms (1)
System\Windows\Forms\GiveFeedbackEventArgs.cs (1)
30
DragImage
= dragImage;
System.Windows.Forms.Tests (1)
System\Windows\Forms\GiveFeedbackEventArgsTests.cs (1)
46
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 (8)
50
/// Note the outer edges of <see cref="
DragImage
"/> are blended out if the image width or height exceeds 300 pixels.
55
IBitmap? IGiveFeedbackEvent.DragImage =>
DragImage
;
62
/// Specifies the location of the cursor within <see cref="
DragImage
"/>, which is an offset from the upper-left corner.
93
&& ((giveFeedbackEventArgs.
DragImage
is null &&
DragImage
is null)
94
|| (giveFeedbackEventArgs.
DragImage
is not null && giveFeedbackEventArgs.
DragImage
.Equals(
DragImage
)))
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)
154
(e.
DragImage
is null).Should().Be(isDragImageNull);
155
(e.
DragImage
is null ? new Size(0, 0) : e.
DragImage
.Size).Should().Be(dragImageSize);
System\Windows\Forms\GiveFeedbackEventArgsTests.cs (1)
48
Assert.Equal(value, e.
DragImage
);