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