3 instantiations of DragDropFormat
System.Windows.Forms.Tests (3)
System\Windows\Forms\DragDropFormatTests.cs (3)
74dragDropFormat = new DragDropFormat((ushort)formatEtc.cfFormat, (Com.STGMEDIUM)medium, copyData: false); 96dragDropFormat = new DragDropFormat((ushort)formatEtc.cfFormat, (Com.STGMEDIUM)medium, copyData: false); 135dragDropFormat = new DragDropFormat((ushort)formatEtc.cfFormat, (Com.STGMEDIUM)medium, copyData: false);
15 references to DragDropFormat
System.Private.Windows.Core (5)
System\Private\Windows\Ole\Composition.ManagedToNativeAdapter.cs (2)
57if (_dataObject.GetData(formatName) is DragDropFormat dragDropFormat) 210if (_dataObject.GetDataPresent(formatName) && _dataObject.GetData(formatName) is DragDropFormat dragDropFormat)
System\Private\Windows\Ole\DragDropFormat.cs (1)
22/// Initializes a new instance of the <see cref="DragDropFormat"/> class using the specified format, storage medium, and owner.
System\Private\Windows\Ole\DragDropHelper.cs (2)
130&& dataObject.GetData(PInvokeCore.CFSTR_INDRAGLOOP) is DragDropFormat dragDropFormat) 175if (dataObject.GetData(format) is DragDropFormat dragDropFormat)
System.Windows.Forms.Tests (10)
System\Windows\Forms\DragDropFormatTests.cs (3)
70DragDropFormat? dragDropFormat = default; 92DragDropFormat? dragDropFormat = default; 131DragDropFormat? dragDropFormat = default;
System\Windows\Forms\DragDropHelperTests.cs (7)
119dataObject.TryGetData(DataFormatNames.DragImageBits, out DragDropFormat dragDropFormat).Should().BeTrue(); 146dataObject.TryGetData(DataFormatNames.DragImageBits, out DragDropFormat dragDropFormat).Should().BeTrue(); 215dataObject.TryGetData(PInvokeCore.CFSTR_DROPDESCRIPTION, autoConvert: false, out DragDropFormat dragDropFormat).Should().BeTrue(); 281if (dataObject.TryGetData(format, out DragDropFormat dragDropFormat)) 297e.Data.TryGetData(PInvokeCore.CFSTR_DROPDESCRIPTION, out DragDropFormat dragDropFormat).Should().BeTrue(); 324dataObject.TryGetData(PInvokeCore.CFSTR_DROPDESCRIPTION, autoConvert: false, out DragDropFormat dragDropFormat).Should().BeTrue(); 355dataObject.TryGetData(PInvokeCore.CFSTR_INDRAGLOOP, out DragDropFormat dragDropFormat).Should().BeTrue();