12 references to Format
PresentationCore (12)
System\Windows\Media\ColorContext.cs (1)
167
switch (pixelFormat.
Format
)
System\Windows\Media\Imaging\BitmapImage.cs (1)
504
source.Format.
Format
!= PixelFormatEnum.Extended
System\Windows\Media\Imaging\BitmapSource.cs (4)
1050
else if (bitsPerPixel <= 16 && format.
Format
!= PixelFormatEnum.Gray16) // For Gray16, one of the RGB Formats is closest
1112
PixelFormat.GetPixelFormat(wicSource).
Format
!= PixelFormatEnum.Extended
1838
if (pfStruct.
Format
== PixelFormatEnum.Default ||
1839
pfStruct.
Format
== PixelFormatEnum.Extended)
System\Windows\Media\Imaging\CachedBitmap.cs (1)
393
if (pixelFormat.
Format
== PixelFormatEnum.Default && pixelFormat.Guid == WICPixelFormatGUIDs.WICPixelFormatDontCare)
System\Windows\Media\Imaging\FormatConvertedBitmap.cs (1)
267
if (((PixelFormat)value).
Format
== PixelFormatEnum.Default)
System\Windows\Media\Imaging\RenderTargetBitmap.cs (3)
33
if (pixelFormat.
Format
== PixelFormatEnum.Default)
37
else if (pixelFormat.
Format
!= PixelFormatEnum.Pbgra32)
243
_format.
Format
,
System\Windows\Media\Imaging\WriteableBitmap.cs (1)
75
if (pixelFormat.
Format
== PixelFormatEnum.Extended)