30 references to ImageList
System.Windows.Forms (7)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (3)
477
return
ImageList
is null || ImageIndexer.Index <
ImageList
.Images.Count
479
:
ImageList
.Images.Count - 1;
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemBaseAccessibleObject.cs (2)
55
internal bool HasImage => _owningItem.
ImageList
is not null && _owningItem.
ImageList
.Images.Count > 0
System\Windows\Forms\Controls\ListView\ListViewItemImageIndexer.cs (2)
25
/// Gets the <see cref="ListViewItem.
ImageList
"/> associated with the item.
29
get => _owner.
ImageList
;
System.Windows.Forms.Tests (23)
SerializableTypesTests.cs (1)
196
Assert.Null(result.
ImageList
);
System\Windows\Forms\ListViewItemTests.cs (22)
25
Assert.Null(item.
ImageList
);
64
Assert.Null(item.
ImageList
);
102
Assert.Null(item.
ImageList
);
140
Assert.Null(item.
ImageList
);
178
Assert.Null(item.
ImageList
);
215
Assert.Null(item.
ImageList
);
252
Assert.Null(item.
ImageList
);
290
Assert.Null(item.
ImageList
);
328
Assert.Null(item.
ImageList
);
365
Assert.Null(item.
ImageList
);
403
Assert.Null(item.
ImageList
);
441
Assert.Null(item.
ImageList
);
478
Assert.Null(item.
ImageList
);
516
Assert.Null(item.
ImageList
);
554
Assert.Null(item.
ImageList
);
592
Assert.Null(item.
ImageList
);
629
Assert.Null(item.
ImageList
);
667
Assert.Null(item.
ImageList
);
705
Assert.Null(item.
ImageList
);
742
Assert.Null(item.
ImageList
);
781
Assert.Null(item.
ImageList
);
811
Assert.Null(item.
ImageList
);