26 references to ImageIndexer
System.Windows.Forms (26)
System\Windows\Forms\Controls\ListView\ListView.cs (4)
2520if (Items[i].ImageIndexer.ActualIndex > -1) 4122iImage = li.ImageIndexer.ActualIndex, 4308int imageIndex = item.ImageIndexer.ActualIndex < _imageListLarge.Images.Count 4309? item.ImageIndexer.ActualIndex
System\Windows\Forms\Controls\ListView\ListViewItem.cs (22)
81ImageIndexer.Index = imageIndex; 93ImageIndexer.Index = imageIndex; 119ImageIndexer.Index = imageIndex; 177ImageIndexer.Key = imageKey; 184ImageIndexer.Key = imageKey; 210ImageIndexer.Key = imageKey; 477return ImageList is null || ImageIndexer.Index < ImageList.Images.Count 478? ImageIndexer.Index 485ImageIndexer.Index = value; 489_listView.SetItemImage(itemIndex: Index, imageIndex: ImageIndexer.ActualIndex); 508get => ImageIndexer.Key; 511ImageIndexer.Key = value; 515_listView.SetItemImage(Index, ImageIndexer.ActualIndex); 906newItem = new ListViewItem(clonedSubItems, ImageIndexer.Index); 918newItem.ImageIndexer.Index = ImageIndexer.Index; 925if (!string.IsNullOrEmpty(ImageIndexer.Key)) 927newItem.ImageIndexer.Key = ImageIndexer.Key; 1267info.AddValue(nameof(ImageIndex), ImageIndexer.Index); 1268if (!string.IsNullOrEmpty(ImageIndexer.Key)) 1270info.AddValue(nameof(ImageKey), ImageIndexer.Key);