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)
3679ImageList = imageList 3699ImageList = imageList 3720ImageList = imageList 3745ImageList = imageList 3767ImageList = imageList 4107ImageList = imageList 4152ImageList = imageList 4504ImageList = imageList 4647ImageList = imageList 4789ImageList = imageList 4867ImageList = imageList 5006ImageList = imageList 5143ImageList = imageList 5288ImageList = imageList 5380ImageList = 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)
1035if (image is null && Owner?.ImageList is not null && ImageIndexer.ActualIndex >= 0) 1038if (!disposing && ImageIndexer.ActualIndex < Owner.ImageList.Images.Count) 1041image = Owner.ImageList.Images[ImageIndexer.ActualIndex]; 1125&& Owner.ImageList is not null && ImageIndexer.Index >= Owner.ImageList.Images.Count) 1127return Owner.ImageList.Images.Count - 1; 1565bool usingImageList = ((Owner is not null) && (Owner.ImageList is not null) && (ImageIndexer.ActualIndex >= 0)); 1579imageSize = 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)
91Assert.Null(control.ImageList);
System\Windows\Forms\StatusStripTests.cs (1)
91Assert.Null(control.ImageList);
System\Windows\Forms\ToolStripDropDownTests.cs (1)
96Assert.Null(control.ImageList);
System\Windows\Forms\ToolStripTests.cs (2)
109Assert.Null(control.ImageList); 263Assert.Null(control.ImageList);