19 references to Icon
System.Drawing.Common.Tests (14)
mono\System.Drawing.Imaging\IconCodecTests.cs (8)
43
Assert.True(image.RawFormat.Equals(ImageFormat.
Icon
));
72
Assert.True(bmp.RawFormat.Equals(ImageFormat.
Icon
));
221
Assert.True(bmp.RawFormat.Equals(ImageFormat.
Icon
));
426
Assert.True(bmp.RawFormat.Equals(ImageFormat.
Icon
));
648
Assert.True(bmp.RawFormat.Equals(ImageFormat.
Icon
));
906
Assert.True(bmp.RawFormat.Equals(ImageFormat.
Icon
));
1839
Assert.True(bmp.RawFormat.Equals(ImageFormat.
Icon
));
1880
bmp.Save(sOutFile, ImageFormat.
Icon
);
System\Drawing\BitmapTests.cs (1)
36
yield return new object[] { "16x16_one_entry_4bit.ico", 16, 16, PixelFormat.Format32bppArgb, ImageFormat.
Icon
};
System\Drawing\ImageFormatConverterTests.cs (1)
98
Assert.Equal(ImageFormat.
Icon
, ConvertFromName("Icon"));
System\Drawing\Imaging\ImageCodecInfoTests.cs (1)
139
ICO_CSID, ImageFormat.
Icon
,
System\Drawing\Imaging\ImageFormatTests.cs (2)
33
yield return new object[] { IconImageFormat.Guid, ImageFormat.
Icon
};
55
yield return new object[] { "Icon", ImageFormat.
Icon
};
System\Drawing\Printing\PrinterSettingsTests.cs (1)
391
yield return new object[] { ImageFormat.
Icon
};
System.Windows.Forms (5)
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
691
if (result.RawFormat.Guid != ImageFormat.
Icon
.Guid)
System\Windows\Forms\Controls\ImageList\ImageList.ImageCollection.cs (1)
147
if (_owner.UseTransparentColor && bitmap.RawFormat.Guid != ImageFormat.
Icon
.Guid)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
1316
if (image.RawFormat.Guid != ImageFormat.
Icon
.Guid)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (2)
1054
if (bmp.RawFormat.Guid != ImageFormat.
Icon
.Guid && !ImageAnimator.CanAnimate(bmp))
1091
if (currentImage.RawFormat.Guid != ImageFormat.
Icon
.Guid && !ImageAnimator.CanAnimate(currentImage))