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