31 references to DROPIMAGETYPE
System.Private.Windows.Core (7)
System\Private\Windows\Ole\DragDropHelper.cs (5)
37
SetDropDescription(dataObject,
DROPIMAGETYPE
.DROPIMAGE_INVALID, string.Empty, string.Empty);
328
DROPIMAGETYPE
dropImageType,
333
if (dropImageType is <
DROPIMAGETYPE
.DROPIMAGE_INVALID or >
DROPIMAGETYPE
.DROPIMAGE_NOIMAGE)
335
throw new InvalidEnumArgumentException(nameof(dropImageType), (int)dropImageType, typeof(
DROPIMAGETYPE
));
System\Private\Windows\Ole\IDragEvent.cs (1)
29
DROPIMAGETYPE
DropImageType { get; }
Windows.Win32.DROPDESCRIPTION.g.cs (1)
32
internal winmdroot.UI.Shell.
DROPIMAGETYPE
type;
System.Windows.Forms (10)
System\Windows\Forms\OLE\DragEventArgs.cs (2)
91
DROPIMAGETYPE
IDragEvent.DropImageType => (
DROPIMAGETYPE
)DropImageType;
System\Windows\Forms\OLE\DropImageType.cs (8)
14
Invalid =
DROPIMAGETYPE
.DROPIMAGE_INVALID,
19
None =
DROPIMAGETYPE
.DROPIMAGE_NONE,
24
Copy =
DROPIMAGETYPE
.DROPIMAGE_COPY,
29
Move =
DROPIMAGETYPE
.DROPIMAGE_MOVE,
34
Link =
DROPIMAGETYPE
.DROPIMAGE_LINK,
39
Label =
DROPIMAGETYPE
.DROPIMAGE_LABEL,
44
Warning =
DROPIMAGETYPE
.DROPIMAGE_WARNING,
49
NoImage =
DROPIMAGETYPE
.DROPIMAGE_NOIMAGE
System.Windows.Forms.Tests (14)
System\Windows\Forms\DragDropHelperTests.cs (14)
193
public
DROPIMAGETYPE
DropImageType { get; set; }
208
DropImageType = (
DROPIMAGETYPE
)dropImageType,
219
DROPIMAGETYPE
type = pDropDescription->type;
223
type.Should().Be(
DROPIMAGETYPE
.DROPIMAGE_INVALID);
239
() => DragDropHelper.SetDropDescription(new DataObject(), (
DROPIMAGETYPE
)dropImageType, string.Empty, string.Empty));
248
DragDropHelper.SetDropDescription(dataObject, (
DROPIMAGETYPE
)dropImageType, message, messageReplacementToken);
261
Assert.Throws<ArgumentOutOfRangeException>(() => DragDropHelper.SetDropDescription(dataObject, (
DROPIMAGETYPE
)dropImageType, message, messageReplacementToken));
269
() => DragDropHelper.SetDropDescription(dataObject, (
DROPIMAGETYPE
)DropImageType.Invalid, string.Empty, string.Empty));
276
DragDropHelper.SetDropDescription(dataObject, (
DROPIMAGETYPE
)dropImageType, message, messageReplacementToken);
300
DROPIMAGETYPE
type = pDropDescription->type;
304
Assert.Equal((
DROPIMAGETYPE
)e.DropImageType, type);
323
DragDropHelper.SetDropDescription(dataObject, (
DROPIMAGETYPE
)dropImageType, message, messageReplacementToken);
327
DROPIMAGETYPE
type = pDropDescription->type;
331
Assert.Equal((
DROPIMAGETYPE
)dropImageType, type);