4 writes to _format
PresentationCore (4)
System\Windows\Media\Imaging\BitmapSource.cs (2)
610_format = PixelFormat.GetPixelFormat(_wicSource); 1451_format = sourceBitmap.Format;
System\Windows\Media\Imaging\RenderTargetBitmap.cs (2)
62_format = pixelFormat; 95_format = sourceBitmap._format;
10 references to _format
PresentationCore (10)
System\Windows\Media\Imaging\BitmapSource.cs (2)
151return _format; 236if (_format.Palettized)
System\Windows\Media\Imaging\RenderTargetBitmap.cs (2)
95_format = sourceBitmap._format; 242_format.Format,
System\Windows\Media\Imaging\WriteableBitmap.cs (6)
849uint finalRowWidthInBits = (uint)((sourceRect.X + sourceRect.Width) * _format.InternalBitsPerPixel); 864uint copyWidthInBits = (uint)(sourceRect.Width * _format.InternalBitsPerPixel); 867uint sourceXbyteOffset = (uint)((sourceRect.X * _format.InternalBitsPerPixel) / 8); 868uint sourceBufferBitOffset = (uint)((sourceRect.X * _format.InternalBitsPerPixel) % 8); 870uint destXbyteOffset = (uint)((destinationX * _format.InternalBitsPerPixel) / 8); 871uint destBufferBitOffset = (uint)((destinationX * _format.InternalBitsPerPixel) % 8);