2 writes to _imageSize
System.Windows.Forms (2)
System\Windows\Forms\Controls\ImageList\ImageList.cs (2)
169
_imageSize
= new Size(value.Width, value.Height);
217
_imageSize
= new Size(x, y);
17 references to _imageSize
System.Windows.Forms (17)
System\Windows\Forms\Controls\ImageList\ImageList.cs (17)
146
get =>
_imageSize
;
167
if (
_imageSize
.Width != value.Width ||
_imageSize
.Height != value.Height)
323
if (size.Width == 0 || (size.Width %
_imageSize
.Width) != 0)
328
if (size.Height !=
_imageSize
.Height)
431
_nativeImageList = new NativeImageList(
_imageSize
, flags);
516
public void Draw(Graphics g, int x, int y, int index) => Draw(g, x, y,
_imageSize
.Width,
_imageSize
.Height, index);
627
int offset = bmpData.Stride *
_imageSize
.Height * index;
631
result = new Bitmap(
_imageSize
.Width,
_imageSize
.Height, PixelFormat.Format32bppArgb);
632
targetData = result.LockBits(new Rectangle(0, 0,
_imageSize
.Width,
_imageSize
.Height), ImageLockMode.WriteOnly, PixelFormat.Format32bppArgb);
659
result = new Bitmap(
_imageSize
.Width,
_imageSize
.Height);
673
_imageSize
.Width,
674
_imageSize
.Height,