16 references to ImageIndexer
System.Windows.Forms (16)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (16)
1031
if (image is null && Owner?.ImageList is not null &&
ImageIndexer
.ActualIndex >= 0)
1034
if (!disposing &&
ImageIndexer
.ActualIndex < Owner.ImageList.Images.Count)
1037
image = Owner.ImageList.Images[
ImageIndexer
.ActualIndex];
1122
if ((Owner is not null) &&
ImageIndexer
.Index != ImageList.Indexer.DefaultIndex
1123
&& Owner.ImageList is not null &&
ImageIndexer
.Index >= Owner.ImageList.Images.Count)
1128
return
ImageIndexer
.Index;
1134
ImageIndexer
.Index = value;
1162
get =>
ImageIndexer
.Key;
1165
ImageIndexer
.Key = value;
1562
bool usingImageList = ((Owner is not null) && (Owner.ImageList is not null) && (
ImageIndexer
.ActualIndex >= 0));
2399
if (
ImageIndexer
.ActualIndex >= 0)
3341
private bool ShouldSerializeImage() => Image is not null &&
ImageIndexer
.ActualIndex < 0;
3348
=> Image is not null &&
ImageIndexer
.ActualIndex >= 0 && !string.IsNullOrEmpty(
ImageIndexer
.Key);
3355
=> Image is not null &&
ImageIndexer
.ActualIndex >= 0 &&
ImageIndexer
.Index != ImageList.Indexer.DefaultIndex;