18 writes to ImageList
System.Windows.Forms (2)
System\Windows\Forms\ContextMenuStrip.cs (1)
58
contextMenuStrip.
ImageList
= ImageList;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
935
_toolStrip1.
ImageList
= _imageList;
System.Windows.Forms.Tests (15)
System\Windows\Forms\ToolStripItemTests.cs (15)
3679
ImageList
= imageList
3699
ImageList
= imageList
3720
ImageList
= imageList
3745
ImageList
= imageList
3767
ImageList
= imageList
4107
ImageList
= imageList
4152
ImageList
= imageList
4504
ImageList
= imageList
4647
ImageList
= imageList
4789
ImageList
= imageList
4867
ImageList
= imageList
5006
ImageList
= imageList
5143
ImageList
= imageList
5288
ImageList
= imageList
5380
ImageList
= imageList
System.Windows.Forms.UI.IntegrationTests (1)
ToolStripTests.cs (1)
39
ImageList
= sharedImageList
15 references to ImageList
System.Windows.Forms (10)
System\Windows\Forms\ContextMenuStrip.cs (1)
58
contextMenuStrip.ImageList =
ImageList
;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (8)
1035
if (image is null && Owner?.
ImageList
is not null && ImageIndexer.ActualIndex >= 0)
1038
if (!disposing && ImageIndexer.ActualIndex < Owner.
ImageList
.Images.Count)
1041
image = Owner.
ImageList
.Images[ImageIndexer.ActualIndex];
1125
&& Owner.
ImageList
is not null && ImageIndexer.Index >= Owner.
ImageList
.Images.Count)
1127
return Owner.
ImageList
.Images.Count - 1;
1565
bool usingImageList = ((Owner is not null) && (Owner.
ImageList
is not null) && (ImageIndexer.ActualIndex >= 0));
1579
imageSize = Owner?.
ImageList
?.ImageSize ?? Size.Empty;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemImageIndexer.cs (1)
20
get => _item.Owner?.
ImageList
;
System.Windows.Forms.Tests (5)
System\Windows\Forms\MenuStripTests.cs (1)
91
Assert.Null(control.
ImageList
);
System\Windows\Forms\StatusStripTests.cs (1)
91
Assert.Null(control.
ImageList
);
System\Windows\Forms\ToolStripDropDownTests.cs (1)
96
Assert.Null(control.
ImageList
);
System\Windows\Forms\ToolStripTests.cs (2)
109
Assert.Null(control.
ImageList
);
263
Assert.Null(control.
ImageList
);