4 writes to _pixelWidth
PresentationCore (4)
System\Windows\Media\Imaging\BitmapSource.cs (2)
623
_pixelWidth
= (int)pw;
1482
_pixelWidth
= sourceBitmap.PixelWidth;
System\Windows\Media\Imaging\RenderTargetBitmap.cs (2)
59
_pixelWidth
= pixelWidth;
92
_pixelWidth
= sourceBitmap._pixelWidth;
11 references to _pixelWidth
PresentationCore (11)
System\Windows\Media\Imaging\BitmapSource.cs (1)
167
return
_pixelWidth
;
System\Windows\Media\Imaging\InteropBitmapSource.cs (1)
267
dirtyRect.Value.ValidateForDirtyRect(nameof(dirtyRect),
_pixelWidth
, _pixelHeight);
System\Windows\Media\Imaging\RenderTargetBitmap.cs (2)
92
_pixelWidth = sourceBitmap.
_pixelWidth
;
241
(uint)
_pixelWidth
,
System\Windows\Media\Imaging\WriteableBitmap.cs (7)
167
dirtyRect.ValidateForDirtyRect(nameof(dirtyRect),
_pixelWidth
, _pixelHeight);
255
Int32Rect rect = new Int32Rect(0, 0,
_pixelWidth
, _pixelHeight);
754
Int32Rect rcFull = new Int32Rect(0, 0,
_pixelWidth
, _pixelHeight);
814
ArgumentOutOfRangeException.ThrowIfGreaterThan(sourceRect.Width,
_pixelWidth
, nameof(sourceRect));
818
ArgumentOutOfRangeException.ThrowIfGreaterThan(destinationX,
_pixelWidth
- sourceRect.Width);
821
else if(sourceRect.Width >
_pixelWidth
|| sourceRect.Height > _pixelHeight || destinationX >
_pixelWidth
- sourceRect.Width || destinationY > _pixelHeight - sourceRect.Height)