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