12 references to Format
PresentationCore (12)
Core\CSharp\System\Windows\Media\ColorContext.cs (1)
204switch (pixelFormat.Format)
Core\CSharp\System\Windows\Media\Imaging\BitmapImage.cs (1)
534source.Format.Format != PixelFormatEnum.Extended
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (4)
1162else if (bitsPerPixel <= 16 && format.Format != PixelFormatEnum.Gray16) // For Gray16, one of the RGB Formats is closest 1228PixelFormat.GetPixelFormat(wicSource).Format != PixelFormatEnum.Extended 1979if (pfStruct.Format == PixelFormatEnum.Default || 1980pfStruct.Format == PixelFormatEnum.Extended)
Core\CSharp\System\Windows\Media\Imaging\CachedBitmap.cs (1)
484if (pixelFormat.Format == PixelFormatEnum.Default && pixelFormat.Guid == WICPixelFormatGUIDs.WICPixelFormatDontCare)
Core\CSharp\System\Windows\Media\Imaging\FormatConvertedBitmap.cs (1)
301if (((PixelFormat)value).Format == PixelFormatEnum.Default)
Core\CSharp\System\Windows\Media\Imaging\RenderTargetBitmap.cs (3)
60if (pixelFormat.Format == PixelFormatEnum.Default) 64else if (pixelFormat.Format != PixelFormatEnum.Pbgra32) 300_format.Format,
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (1)
113if (pixelFormat.Format == PixelFormatEnum.Extended)