4 writes to _pixelWidth
PresentationCore (4)
System\Windows\Media\Imaging\BitmapSource.cs (2)
638
_pixelWidth
= (int)pw;
1498
_pixelWidth
= sourceBitmap.PixelWidth;
System\Windows\Media\Imaging\RenderTargetBitmap.cs (2)
78
_pixelWidth
= pixelWidth;
111
_pixelWidth
= sourceBitmap._pixelWidth;
11 references to _pixelWidth
PresentationCore (11)
System\Windows\Media\Imaging\BitmapSource.cs (1)
182
return
_pixelWidth
;
System\Windows\Media\Imaging\InteropBitmapSource.cs (1)
281
dirtyRect.Value.ValidateForDirtyRect("dirtyRect",
_pixelWidth
, _pixelHeight);
System\Windows\Media\Imaging\RenderTargetBitmap.cs (2)
111
_pixelWidth = sourceBitmap.
_pixelWidth
;
260
(uint)
_pixelWidth
,
System\Windows\Media\Imaging\WriteableBitmap.cs (7)
184
dirtyRect.ValidateForDirtyRect("dirtyRect",
_pixelWidth
, _pixelHeight);
272
Int32Rect rect = new Int32Rect(0, 0,
_pixelWidth
, _pixelHeight);
782
Int32Rect rcFull = new Int32Rect(0, 0,
_pixelWidth
, _pixelHeight);
842
ArgumentOutOfRangeException.ThrowIfGreaterThan(sourceRect.Width,
_pixelWidth
, nameof(sourceRect));
846
ArgumentOutOfRangeException.ThrowIfGreaterThan(destinationX,
_pixelWidth
- sourceRect.Width);
849
else if(sourceRect.Width >
_pixelWidth
|| sourceRect.Height > _pixelHeight || destinationX >
_pixelWidth
- sourceRect.Width || destinationY > _pixelHeight - sourceRect.Height)