18 writes to ImageList
System.Windows.Forms (2)
System\Windows\Forms\ContextMenuStrip.cs (1)
58contextMenuStrip.ImageList = ImageList;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
935_toolStrip1.ImageList = _imageList;
System.Windows.Forms.Tests (15)
System\Windows\Forms\ToolStripItemTests.cs (15)
3680ImageList = imageList 3700ImageList = imageList 3721ImageList = imageList 3746ImageList = imageList 3768ImageList = imageList 4108ImageList = imageList 4153ImageList = imageList 4505ImageList = imageList 4648ImageList = imageList 4790ImageList = imageList 4868ImageList = imageList 5007ImageList = imageList 5144ImageList = imageList 5289ImageList = imageList 5381ImageList = imageList
System.Windows.Forms.UI.IntegrationTests (1)
ToolStripTests.cs (1)
39ImageList = sharedImageList
15 references to ImageList
System.Windows.Forms (10)
System\Windows\Forms\ContextMenuStrip.cs (1)
58contextMenuStrip.ImageList = ImageList;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (8)
1026if (image is null && Owner?.ImageList is not null && ImageIndexer.ActualIndex >= 0) 1029if (!disposing && ImageIndexer.ActualIndex < Owner.ImageList.Images.Count) 1032image = Owner.ImageList.Images[ImageIndexer.ActualIndex]; 1118&& Owner.ImageList is not null && ImageIndexer.Index >= Owner.ImageList.Images.Count) 1120return Owner.ImageList.Images.Count - 1; 1557bool usingImageList = ((Owner is not null) && (Owner.ImageList is not null) && (ImageIndexer.ActualIndex >= 0)); 1569? Owner?.ImageList?.ImageSize ?? Size.Empty
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemImageIndexer.cs (1)
20get => _item.Owner?.ImageList;
System.Windows.Forms.Tests (5)
System\Windows\Forms\MenuStripTests.cs (1)
93Assert.Null(control.ImageList);
System\Windows\Forms\StatusStripTests.cs (1)
93Assert.Null(control.ImageList);
System\Windows\Forms\ToolStripDropDownTests.cs (1)
98Assert.Null(control.ImageList);
System\Windows\Forms\ToolStripTests.cs (2)
111Assert.Null(control.ImageList); 265Assert.Null(control.ImageList);