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)
3678ImageList = imageList 3698ImageList = imageList 3719ImageList = imageList 3744ImageList = imageList 3766ImageList = imageList 4106ImageList = imageList 4151ImageList = imageList 4503ImageList = imageList 4646ImageList = imageList 4788ImageList = imageList 4866ImageList = imageList 5005ImageList = imageList 5142ImageList = imageList 5287ImageList = imageList 5379ImageList = 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)
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);