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