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)
3678
ImageList
= imageList
3698
ImageList
= imageList
3719
ImageList
= imageList
3744
ImageList
= imageList
3766
ImageList
= imageList
4106
ImageList
= imageList
4151
ImageList
= imageList
4503
ImageList
= imageList
4646
ImageList
= imageList
4788
ImageList
= imageList
4866
ImageList
= imageList
5005
ImageList
= imageList
5142
ImageList
= imageList
5287
ImageList
= imageList
5379
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)
1026
if (image is null && Owner?.
ImageList
is not null && ImageIndexer.ActualIndex >= 0)
1029
if (!disposing && ImageIndexer.ActualIndex < Owner.
ImageList
.Images.Count)
1032
image = Owner.
ImageList
.Images[ImageIndexer.ActualIndex];
1118
&& Owner.
ImageList
is not null && ImageIndexer.Index >= Owner.
ImageList
.Images.Count)
1120
return Owner.
ImageList
.Images.Count - 1;
1557
bool 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)
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
);