3 instantiations of DragDropFormat
System.Windows.Forms.Tests (3)
System\Windows\Forms\DragDropFormatTests.cs (3)
74
dragDropFormat = new
DragDropFormat
((ushort)formatEtc.cfFormat, (Com.STGMEDIUM)medium, copyData: false);
96
dragDropFormat = new
DragDropFormat
((ushort)formatEtc.cfFormat, (Com.STGMEDIUM)medium, copyData: false);
135
dragDropFormat = 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)
57
if (_dataObject.GetData(formatName) is
DragDropFormat
dragDropFormat)
210
if (_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)
175
if (dataObject.GetData(format) is
DragDropFormat
dragDropFormat)
System.Windows.Forms.Tests (10)
System\Windows\Forms\DragDropFormatTests.cs (3)
70
DragDropFormat
? dragDropFormat = default;
92
DragDropFormat
? dragDropFormat = default;
131
DragDropFormat
? dragDropFormat = default;
System\Windows\Forms\DragDropHelperTests.cs (7)
119
dataObject.TryGetData(DataFormatNames.DragImageBits, out
DragDropFormat
dragDropFormat).Should().BeTrue();
146
dataObject.TryGetData(DataFormatNames.DragImageBits, out
DragDropFormat
dragDropFormat).Should().BeTrue();
215
dataObject.TryGetData(PInvokeCore.CFSTR_DROPDESCRIPTION, autoConvert: false, out
DragDropFormat
dragDropFormat).Should().BeTrue();
281
if (dataObject.TryGetData(format, out
DragDropFormat
dragDropFormat))
297
e.Data.TryGetData(PInvokeCore.CFSTR_DROPDESCRIPTION, out
DragDropFormat
dragDropFormat).Should().BeTrue();
324
dataObject.TryGetData(PInvokeCore.CFSTR_DROPDESCRIPTION, autoConvert: false, out
DragDropFormat
dragDropFormat).Should().BeTrue();
355
dataObject.TryGetData(PInvokeCore.CFSTR_INDRAGLOOP, out
DragDropFormat
dragDropFormat).Should().BeTrue();