25 writes to ImageIndex
System.Windows.Forms (4)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
148ImageIndex = imageIndex; 1548ImageIndex = imageIndex;
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (2)
158ImageIndex = imageIndex 520ImageIndex = imageIndex
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
2247ImageIndex = value;
System.Windows.Forms.Tests (20)
System\Windows\Forms\TreeNodeTests.cs (20)
975ImageIndex = value 981node.ImageIndex = value; 1014ImageIndex = value 1020node.ImageIndex = value; 1054node.ImageIndex = value; 1060node.ImageIndex = value; 1092node.ImageIndex = value; 1098node.ImageIndex = value; 1131node.ImageIndex = value; 1137node.ImageIndex = value; 1158node.ImageIndex = value; 1167node.ImageIndex = value; 1208node.ImageIndex = value; 1235node.ImageIndex = value; 1266node.ImageIndex = value; 1289node.ImageIndex = value; 1294node.ImageIndex = value; 1304Assert.Throws<ArgumentOutOfRangeException>("value", () => node.ImageIndex = value); 1316node.ImageIndex = 0; 1345ImageIndex = 0,
53 references to ImageIndex
System.Windows.Forms (6)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
1514case nameof(ImageIndex): 2064si.AddValue(nameof(ImageIndex), ImageIndexer.Index);
System\Windows\Forms\Controls\TreeView\TreeNodeConverter.cs (3)
48if (node.ImageIndex == -1 || node.SelectedImageIndex == -1) 78node.ImageIndex, 98node.ImageIndex,
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (1)
228itemNode.ImageIndex,
System.Windows.Forms.Tests (47)
SerializableTypesTests.cs (1)
369Assert.Equal(-1, result.ImageIndex); // No image list
System\Windows\Forms\TreeNodeCollectionTests.cs (3)
29Assert.Equal(-1, treeNode.ImageIndex); 404treeNode.ImageIndex.Should().Be(imageIndex); 503treeNode.ImageIndex.Should().Be(imageIndex);
System\Windows\Forms\TreeNodeTests.cs (43)
24Assert.Equal(-1, node.ImageIndex); 64Assert.Equal(-1, node.ImageIndex); 112Assert.Equal(-1, node.ImageIndex); 155Assert.Equal(imageIndex, node.ImageIndex); 203Assert.Equal(imageIndex, node.ImageIndex); 977Assert.Equal(value, node.ImageIndex); 982Assert.Equal(value, node.ImageIndex); 988Assert.Equal(value, node.ImageIndex); 995Assert.Equal(expectedWithoutImage, node.ImageIndex); 1002Assert.Equal(expectedWithImage, node.ImageIndex); 1016Assert.Equal(value, node.ImageIndex); 1021Assert.Equal(value, node.ImageIndex); 1027Assert.Equal(value, node.ImageIndex); 1034Assert.Equal(expectedWithoutImage, node.ImageIndex); 1041Assert.Equal(expectedWithImage, node.ImageIndex); 1055Assert.Equal(value, node.ImageIndex); 1061Assert.Equal(value, node.ImageIndex); 1068Assert.Equal(expectedWithoutImage, node.ImageIndex); 1075Assert.Equal(expectedWithImage, node.ImageIndex); 1093Assert.Equal(expectedWithoutImage, node.ImageIndex); 1099Assert.Equal(expectedWithoutImage, node.ImageIndex); 1106Assert.Equal(expectedWithImage, node.ImageIndex); 1132Assert.Equal(expected, node.ImageIndex); 1138Assert.Equal(expected, node.ImageIndex); 1159Assert.Equal(value, node.ImageIndex); 1168Assert.Equal(value, node.ImageIndex); 1178Assert.Equal(expectedWithoutImage, node.ImageIndex); 1188Assert.Equal(expectedWithImage, node.ImageIndex); 1290Assert.Equal(value, node.ImageIndex); 1295Assert.Equal(value, node.ImageIndex); 1317Assert.Equal(0, node.ImageIndex); 1329Assert.Equal(-1, node.ImageIndex); 1334Assert.Equal(-1, node.ImageIndex); 1349Assert.Equal(ImageList.Indexer.DefaultIndex, node.ImageIndex); 1354Assert.Equal(ImageList.Indexer.DefaultIndex, node.ImageIndex); 1367Assert.Equal(-1, node.ImageIndex); 1373Assert.Equal(-1, node.ImageIndex); 1391Assert.Equal(-1, node.ImageIndex); 1397Assert.Equal(-1, node.ImageIndex); 1424Assert.Equal(-1, node.ImageIndex); 1430Assert.Equal(-1, node.ImageIndex); 1451Assert.Equal(-1, node.ImageIndex); 1460Assert.Equal(-1, node.ImageIndex);