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