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