20 references to Dib
System.Windows.Forms (1)
System\Windows\Forms\OLE\DataObject.DataStore.cs (1)
75
if (data is Bitmap && format.Equals(DataFormats.
Dib
))
System.Windows.Forms.Tests (19)
System\Windows\Forms\DataFormatsTests.cs (2)
15
yield return new object[] { DataFormats.
Dib
, "DeviceIndependentBitmap" };
46
yield return new object[] { DataFormats.
Dib
, "DeviceIndependentBitmap", 8 };
System\Windows\Forms\DataObjectTests.cs (17)
24
DataFormats.
Dib
,
1048
dataObject.SetData(DataFormats.
Dib
, autoConvert: true, image);
1055
dataObject.GetData(DataFormats.
Dib
, autoConvert: true).Should().BeNull();
1056
dataObject.GetData(DataFormats.
Dib
, autoConvert: false).Should().BeNull();
1063
dataObject.GetDataPresent(DataFormats.
Dib
, autoConvert: true).Should().BeFalse();
1064
dataObject.GetDataPresent(DataFormats.
Dib
, autoConvert: false).Should().BeFalse();
1128
dataObject.SetData(DataFormats.
Dib
, autoConvert: true, image);
1135
dataObject.GetData(DataFormats.
Dib
, autoConvert: true).Should().BeNull();
1136
dataObject.GetData(DataFormats.
Dib
, autoConvert: false).Should().BeNull();
1143
dataObject.GetDataPresent(DataFormats.
Dib
, autoConvert: true).Should().BeFalse();
1144
dataObject.GetDataPresent(DataFormats.
Dib
, autoConvert: false).Should().BeFalse();
1234
((Action)(() => dataObject.SetData(DataFormats.
Dib
, false, new Bitmap(10, 10))))
1316
dataObject.GetData(DataFormats.
Dib
, autoConvert: true).Should().BeNull();
1317
dataObject.GetData(DataFormats.
Dib
, autoConvert: false).Should().BeNull();
1324
dataObject.GetDataPresent(DataFormats.
Dib
, autoConvert: true).Should().BeFalse();
1325
dataObject.GetDataPresent(DataFormats.
Dib
, autoConvert: false).Should().BeFalse();
1744
{ DataFormats.
Dib
, TYMED.TYMED_HGLOBAL },