32 references to Format
PresentationCore (16)
System\Windows\Media\Imaging\BitmapEncoder.cs (1)
638ColorContext colorContext = new ColorContext(frame.Format);
System\Windows\Media\Imaging\BitmapImage.cs (3)
504source.Format.Format != PixelFormatEnum.Extended 510PixelFormat duceFormat = BitmapSource.GetClosestDUCEFormat(source.Format, source.Palette); 511bool changeFormat = (source.Format != duceFormat);
System\Windows\Media\Imaging\BitmapSource.cs (8)
727int minStride = checked(((sourceRect.Width * Format.BitsPerPixel) + 7) / 8); 803PixelFormat format = Format; 849Guid destFmt = GetClosestDUCEFormat(Format, Palette).Guid; 1181Debug.Assert(destFmt == colorConvertedBitmap.Format); 1482_format = sourceBitmap.Format; 1606return IsCompatibleFormat(Format); 1752guidFormat = bitmapSource.Format.Guid; 1836PixelFormat pfStruct = bitmapSource.Format;
System\Windows\Media\Imaging\FormatConvertedBitmap.cs (1)
271return bitmap.Source.Format;
System\Windows\Media\Imaging\WriteableBitmap.cs (3)
740Guid formatGuid = source.Format.Guid; 743if (source.Format.Palettized) 759GetEstimatedSize(source.PixelWidth, source.PixelHeight, source.Format));
PresentationFramework (10)
MS\Internal\AppModel\IconHelper.cs (5)
170if (bitmapSource.Format != PixelFormats.Bgra32 && bitmapSource.Format != PixelFormats.Pbgra32) 178int bpp = bitmapSource.Format.BitsPerPixel; 459int currentIconBitDepth = isBitmapIconDecoder ? frames[i].Thumbnail.Format.BitsPerPixel : frames[i].Format.BitsPerPixel;
System\Windows\Documents\WpfPayload.cs (3)
636if (imageSource1.Format.BitsPerPixel != imageSource2.Format.BitsPerPixel || 646int stride = ((imageSource1.PixelWidth * imageSource1.Format.BitsPerPixel) + 7) / 8;
System\Windows\Standard\Utilities.cs (2)
144int currentIconBitDepth = isBitmapIconDecoder ? frames[i].Thumbnail.Format.BitsPerPixel : frames[i].Format.BitsPerPixel;
ReachFramework (4)
AlphaFlattener\ImageProxy.cs (2)
320if (bitmap.Format.HasAlpha) 325if (bitmap.Format.Palettized)
AlphaFlattener\Utility.cs (1)
1426if ((bitmapSource != null) && (bitmapSource.Format == PixelFormats.Pbgra32))
Serialization\ImageSourceTypeConverter.cs (1)
388int stride = (width * bitmapSource.Format.BitsPerPixel + 7) / 8;
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonWindowSmallIconConverter.cs (2)
112int currentIconBitDepth = isBitmapIconDecoder ? frames[i].Thumbnail.Format.BitsPerPixel : frames[i].Format.BitsPerPixel;