4 writes to _format
PresentationCore (4)
System\Windows\Media\Imaging\BitmapSource.cs (2)
610_format = PixelFormat.GetPixelFormat(_wicSource); 1482_format = sourceBitmap.Format;
System\Windows\Media\Imaging\RenderTargetBitmap.cs (2)
63_format = pixelFormat; 96_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)
96_format = sourceBitmap._format; 243_format.Format,
System\Windows\Media\Imaging\WriteableBitmap.cs (6)
867uint finalRowWidthInBits = (uint)((sourceRect.X + sourceRect.Width) * _format.InternalBitsPerPixel); 882uint copyWidthInBits = (uint)(sourceRect.Width * _format.InternalBitsPerPixel); 885uint sourceXbyteOffset = (uint)((sourceRect.X * _format.InternalBitsPerPixel) / 8); 886uint sourceBufferBitOffset = (uint)((sourceRect.X * _format.InternalBitsPerPixel) % 8); 888uint destXbyteOffset = (uint)((destinationX * _format.InternalBitsPerPixel) / 8); 889uint destBufferBitOffset = (uint)((destinationX * _format.InternalBitsPerPixel) % 8);