23 references to ImageIndexer
System.Windows.Forms (23)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (23)
510if (ImageIndexer.Index != ImageList.Indexer.NoneIndex 511&& ImageIndexer.Index != ImageList.Indexer.DefaultIndex 513&& ImageIndexer.Index >= tv.ImageList.Images.Count) 518return ImageIndexer.Index; 524if (ImageIndexer.Index == value 531ImageIndexer.Index = value; 551get => ImageIndexer.Key; 554if (value == ImageIndexer.Key && !string.Equals(value, ImageList.Indexer.DefaultKey)) 559ImageIndexer.Key = value; 1349? new TreeNode(_text, ImageIndexer.Index, SelectedImageIndexer.Index) 1354node.ImageIndexer.Index = ImageIndexer.Index; 1362if (!(string.IsNullOrEmpty(ImageIndexer.Key))) 1364node.ImageIndexer.Key = ImageIndexer.Key; 1845tvis.item.iImage = (ImageIndexer.ActualIndex == ImageList.Indexer.DefaultIndex) ? tv.ImageIndexer.ActualIndex : ImageIndexer.ActualIndex; 2064si.AddValue(nameof(ImageIndex), ImageIndexer.Index); 2065si.AddValue(nameof(ImageKey), ImageIndexer.Key); 2155item.iImage = IsSpecialImageIndex(ImageIndexer.ActualIndex) 2157: ImageIndexer.ActualIndex; 2215tv.ImageList is { } imageList && ImageIndexer.ActualIndex >= imageList.Images.Count 2217: ImageIndexer.ActualIndex)