4 writes to _format
PresentationCore (4)
System\Windows\Media\Imaging\BitmapSource.cs (2)
625_format = PixelFormat.GetPixelFormat(_wicSource); 1497_format = sourceBitmap.Format;
System\Windows\Media\Imaging\RenderTargetBitmap.cs (2)
82_format = pixelFormat; 115_format = sourceBitmap._format;
10 references to _format
PresentationCore (10)
System\Windows\Media\Imaging\BitmapSource.cs (2)
166return _format; 251if (_format.Palettized)
System\Windows\Media\Imaging\RenderTargetBitmap.cs (2)
115_format = sourceBitmap._format; 262_format.Format,
System\Windows\Media\Imaging\WriteableBitmap.cs (6)
884uint finalRowWidthInBits = (uint)((sourceRect.X + sourceRect.Width) * _format.InternalBitsPerPixel); 899uint copyWidthInBits = (uint)(sourceRect.Width * _format.InternalBitsPerPixel); 902uint sourceXbyteOffset = (uint)((sourceRect.X * _format.InternalBitsPerPixel) / 8); 903uint sourceBufferBitOffset = (uint)((sourceRect.X * _format.InternalBitsPerPixel) % 8); 905uint destXbyteOffset = (uint)((destinationX * _format.InternalBitsPerPixel) / 8); 906uint destBufferBitOffset = (uint)((destinationX * _format.InternalBitsPerPixel) % 8);