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