16 references to ImageIndexer
System.Windows.Forms (16)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (16)
1035if (image is null && Owner?.ImageList is not null && ImageIndexer.ActualIndex >= 0) 1038if (!disposing && ImageIndexer.ActualIndex < Owner.ImageList.Images.Count) 1041image = Owner.ImageList.Images[ImageIndexer.ActualIndex]; 1124if ((Owner is not null) && ImageIndexer.Index != ImageList.Indexer.DefaultIndex 1125&& Owner.ImageList is not null && ImageIndexer.Index >= Owner.ImageList.Images.Count) 1130return ImageIndexer.Index; 1136ImageIndexer.Index = value; 1164get => ImageIndexer.Key; 1167ImageIndexer.Key = value; 1565bool usingImageList = ((Owner is not null) && (Owner.ImageList is not null) && (ImageIndexer.ActualIndex >= 0)); 2418if (ImageIndexer.ActualIndex >= 0) 3374private bool ShouldSerializeImage() => Image is not null && ImageIndexer.ActualIndex < 0; 3381=> Image is not null && ImageIndexer.ActualIndex >= 0 && !string.IsNullOrEmpty(ImageIndexer.Key); 3388=> Image is not null && ImageIndexer.ActualIndex >= 0 && ImageIndexer.Index != ImageList.Indexer.DefaultIndex;