2 writes to ImageList
System.Windows.Forms (2)
System\Windows\Forms\Controls\Labels\Label.cs (2)
394ImageList = null; 938private void DetachImageList(object? sender, EventArgs e) => ImageList = null;
8 references to ImageList
System.Windows.Forms (8)
System\Windows\Forms\Controls\Labels\Label.cs (7)
372if (image is null && ImageList is not null && ImageIndexer.ActualIndex >= 0) 374return ImageList.Images[ImageIndexer.ActualIndex]; 421if (ImageList is not null && (index >= ImageList.Images.Count)) 423return ImageList.Images.Count - 1; 508ImageList? imageList = ImageList; 947if (ImageList is { } imageList)
System\Windows\Forms\Controls\Labels\Label.LabelImageIndexer.cs (1)
24get { return _owner.ImageList; }