18 references to _items
System.Windows.Forms.Design (18)
System\Windows\Forms\Design\ImageListDesigner.OriginalImageCollection.cs (18)
31
Debug.Assert(
_items
is not null, "OriginalImageCollection has no list (ImageListDesigner)");
39
return
_items
.Count;
55
return (ImageListImage)
_items
[index];
64
_items
[index] = value;
88
_items
.Add(value);
98
return
_items
.IndexOf(value);
119
_items
.Clear();
123
_items
.Add(new ImageListImage((Bitmap)_owner.ImageList.Images[i], imageKeys[i]));
133
_items
.Clear();
137
public bool Contains(ImageListImage value) =>
_items
.Contains(value);
141
public IEnumerator GetEnumerator() =>
_items
.GetEnumerator();
143
public int IndexOf(ImageListImage? value) => value is ImageListImage imageListImage ?
_items
.IndexOf(imageListImage) : -1;
151
for (int i = 0; i <
_items
.Count; i++)
153
ImageListImage imageListImage = (ImageListImage)
_items
[i];
167
_items
.Remove(value);
186
_items
.RemoveAt(index);
194
object ICollection.SyncRoot => ((ICollection)
_items
).SyncRoot;
196
void ICollection.CopyTo(Array array, int index) => ((ICollection)
_items
).CopyTo(array, index);