48 references to RawFormat
System.Drawing.Common.Tests (41)
mono\System.Drawing.Imaging\IconCodecTests.cs (9)
43Assert.True(image.RawFormat.Equals(ImageFormat.Icon)); 49Assert.True(bmp.RawFormat.Equals(ImageFormat.MemoryBmp)); 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)); 1884Assert.Equal(ImageFormat.Png, bmpLoad.RawFormat);
mono\System.Drawing\BitmapTests.cs (8)
774Assert.Equal(ImageFormat.MemoryBmp, bmp.RawFormat); 788Assert.Equal(ImageFormat.Png, other.RawFormat); 1182Assert.Equal(b.RawFormat, ImageFormat.MemoryBmp); 1270Assert.Equal(bitmap.RawFormat, ImageFormat.Bmp); 1281Assert.Equal(image.RawFormat, ImageFormat.MemoryBmp); 1296Assert.Equal(bitmap.RawFormat, ImageFormat.Bmp); 1308Assert.Equal(image.RawFormat, ImageFormat.MemoryBmp); 1317Assert.Equal(image2.RawFormat, ImageFormat.MemoryBmp);
System\Drawing\BitmapTests.cs (20)
49Assert.Equal(rawFormat, bitmap.RawFormat); 62Assert.Equal(rawFormat, bitmap.RawFormat); 91Assert.Equal(ImageFormat.Bmp, bitmap.RawFormat); 125Assert.Equal(rawFormat, bitmap.RawFormat); 139Assert.Equal(rawFormat, bitmap.RawFormat); 168Assert.Equal(ImageFormat.MemoryBmp, bitmap.RawFormat); 192Assert.Equal(ImageFormat.MemoryBmp, bitmap.RawFormat); 211Assert.Equal(ImageFormat.MemoryBmp, bitmap.RawFormat); 291Assert.Equal(ImageFormat.MemoryBmp, bitmap.RawFormat); 308Assert.Equal(ImageFormat.MemoryBmp, bitmap.RawFormat); 325Assert.Equal(ImageFormat.MemoryBmp, bitmap.RawFormat); 336Assert.Equal(ImageFormat.MemoryBmp, bitmap.RawFormat); 377Assert.Equal(bitmap.RawFormat, clone.RawFormat); 607Assert.Equal(ImageFormat.MemoryBmp, result.RawFormat); 620Assert.Equal(ImageFormat.MemoryBmp, result.RawFormat); 629Assert.Equal(ImageFormat.MemoryBmp, result.RawFormat); 704Assert.Equal(ImageFormat.MemoryBmp, result.RawFormat); 1577Assert.Equal(ImageFormat.Png, bitmap.RawFormat); 1600Assert.Equal(ImageFormat.Png, bitmap.RawFormat);
System\Drawing\IconTests.cs (2)
530Assert.Equal(ImageFormat.MemoryBmp, bitmap.RawFormat); 568Assert.Equal(ImageFormat.Png, bitmap.RawFormat);
System\Drawing\ImageConverterTests.cs (1)
24_image.Save(destStream, _image.RawFormat);
System\Drawing\Imaging\ImageFormatTests.cs (1)
111Assert.Equal(expected, img.RawFormat.ToString());
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))
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ImageListImage.cs (1)
44public ImageFormat RawFormat => Image.RawFormat;
WindowsFormsIntegration (1)
System\Windows\Integration\Convert.cs (1)
151SDI.ImageFormat IntermediateFormat = fromImage.RawFormat;