9 writes to ImageSize
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.cs (1)
504images.ImageSize = System.Drawing.Size.Subtract(
System.Windows.Forms (6)
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
745private void ResetImageSize() => ImageSize = s_defaultImageSize;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (2)
2061ImageSize = s_largeButtonSize 3831_normalButtonImages.ImageSize = s_normalButtonSize;
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
1792_internalStateImageList.ImageSize = (Size)StateImageSize; 1977newImageList.ImageSize = (Size)StateImageSize;
System\Windows\Forms\Design\ComponentEditorForm.cs (1)
184ImageSize = new Size(16, 16)
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
1940ImageSize = scaledSize
System\Windows\Forms\Design\ImageListDesigner.cs (1)
63ImageList.ImageSize = value;
14 references to ImageSize
System.Windows.Forms (11)
System\Windows\Forms\Controls\ImageList\ImageList.cs (4)
151throw new ArgumentException(string.Format(SR.InvalidArgument, nameof(ImageSize), "Size.Empty"), nameof(value)); 333else if (!size.Equals(ImageSize)) 336bitmap = new Bitmap(source, ImageSize); 757: $"{base.ToString()} Images.Count: {Images.Count}, ImageSize: {ImageSize}";
System\Windows\Forms\Controls\ImageList\ImageList.ImageCollection.cs (3)
394if (value.Width == 0 || (value.Width % _owner.ImageSize.Width) != 0) 399if (value.Height != _owner.ImageSize.Height) 404int nImages = value.Width / _owner.ImageSize.Width;
System\Windows\Forms\Controls\ListView\ListView.cs (1)
929/// The size of the icons for the <see cref="GroupImageList"/> is specified by the <see cref="ImageList.ImageSize"/> property.
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (2)
1205_toolStrip.ImageScalingSize = _largeButtonImages.ImageSize; 1214_toolStrip.ImageScalingSize = _normalButtonImages.ImageSize;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
1574? Owner?.ImageList?.ImageSize ?? Size.Empty
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
1934Size scaledSize = ScaleHelper.ScaleToDpi(imageList.ImageSize, dpi);
System\Windows\Forms\Design\ImageListActionList.cs (1)
36get => (Component as ImageList)!.ImageSize;
System\Windows\Forms\Design\ImageListDesigner.cs (1)
59get => ImageList.ImageSize;