16 references to ImageIndexer
System.Windows.Forms (16)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (16)
1026
if (image is null && Owner?.ImageList is not null &&
ImageIndexer
.ActualIndex >= 0)
1029
if (!disposing &&
ImageIndexer
.ActualIndex < Owner.ImageList.Images.Count)
1032
image = Owner.ImageList.Images[
ImageIndexer
.ActualIndex];
1117
if ((Owner is not null) &&
ImageIndexer
.Index != ImageList.Indexer.DefaultIndex
1118
&& Owner.ImageList is not null &&
ImageIndexer
.Index >= Owner.ImageList.Images.Count)
1123
return
ImageIndexer
.Index;
1129
ImageIndexer
.Index = value;
1157
get =>
ImageIndexer
.Key;
1160
ImageIndexer
.Key = value;
1557
bool usingImageList = ((Owner is not null) && (Owner.ImageList is not null) && (
ImageIndexer
.ActualIndex >= 0));
2392
if (
ImageIndexer
.ActualIndex >= 0)
3332
private bool ShouldSerializeImage() => Image is not null &&
ImageIndexer
.ActualIndex < 0;
3339
=> Image is not null &&
ImageIndexer
.ActualIndex >= 0 && !string.IsNullOrEmpty(
ImageIndexer
.Key);
3346
=> Image is not null &&
ImageIndexer
.ActualIndex >= 0 &&
ImageIndexer
.Index != ImageList.Indexer.DefaultIndex;