2 writes to Width
PresentationCore (2)
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (1)
801
sourceRect.
Width
= PixelWidth;
Core\CSharp\System\Windows\Media\Imaging\CroppedBitmap.cs (1)
123
rect.
Width
= source.PixelWidth;
22 references to Width
PresentationCore (17)
Core\CSharp\System\Windows\Interop\D3DImage.cs (1)
359
dirtyRect.
Width
,
Core\CSharp\System\Windows\Media\Imaging\BitmapImage.cs (1)
408
sourceRect.
Width
== source.PixelWidth &&
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (5)
800
if (sourceRect.
Width
<= 0)
806
if (sourceRect.
Width
> PixelWidth)
812
int minStride = checked(((sourceRect.
Width
* Format.BitsPerPixel) + 7) / 8);
1969
rectWidth = rc.
Width
;
1971
if (rc.
Width
< 1 || rc.Height < 1)
Core\CSharp\System\Windows\Media\Imaging\InteropBitmapSource.cs (1)
393
data.DirtyRect.right = dirtyRect.Value.X + dirtyRect.Value.
Width
;
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (9)
514
if (sourceRect.IsEmpty || sourceRect.
Width
<= 0 || sourceRect.Height <= 0)
562
if (sourceRect.IsEmpty || sourceRect.
Width
<= 0 || sourceRect.Height <= 0)
946
if (sourceRect.
Width
< 0)
952
if (sourceRect.
Width
> _pixelWidth)
994
if (destinationX > _pixelWidth - sourceRect.
Width
)
1002
throw new ArgumentOutOfRangeException("destinationX", SR.Get(SRID.ParameterMustBeBetween, 0, _pixelWidth - sourceRect.
Width
));
1049
if (sourceRect.
Width
== 0 || sourceRect.Height == 0)
1059
uint finalRowWidthInBits = (uint)((sourceRect.X + sourceRect.
Width
) * _format.InternalBitsPerPixel);
1074
uint copyWidthInBits = (uint)(sourceRect.
Width
* _format.InternalBitsPerPixel);
WindowsBase (5)
Base\System\Windows\Generated\Int32Rect.cs (5)
66
int32Rect1.
Width
== int32Rect2.
Width
&&
107
int32Rect1.
Width
.Equals(int32Rect2.
Width
) &&
166
Width
.GetHashCode() ^