17 references to ImageIndexer
System.Windows.Forms (17)
winforms\Managed\System\WinForms\ToolStripItem.cs (17)
1245
if (image == null && (Owner != null) && (Owner.ImageList != null) &&
ImageIndexer
.ActualIndex >= 0) {
1246
if (
ImageIndexer
.ActualIndex < Owner.ImageList.Images.Count) {
1248
image = Owner.ImageList.Images[
ImageIndexer
.ActualIndex];
1323
if ((Owner != null) &&
ImageIndexer
.Index != -1 && Owner.ImageList != null &&
ImageIndexer
.Index >= Owner.ImageList.Images.Count) {
1326
return this.
ImageIndexer
.Index;
1334
ImageIndexer
.Index = value;
1370
return this.
ImageIndexer
.Key;
1373
ImageIndexer
.Key = value;
1914
bool usingImageList = ((Owner != null) && (Owner.ImageList != null) && (
ImageIndexer
.ActualIndex >= 0));
2774
if (
ImageIndexer
.ActualIndex >= 0) {
3723
return (Image != null) && (
ImageIndexer
.ActualIndex < 0);
3730
return (Image != null) && (
ImageIndexer
.ActualIndex >= 0) && (
ImageIndexer
.Key != null &&
ImageIndexer
.Key.Length != 0);
3737
return (Image != null) && (
ImageIndexer
.ActualIndex >= 0) && (
ImageIndexer
.Index != -1);