23 writes to SelectedImageIndex
System.Windows.Forms (2)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
149SelectedImageIndex = selectedImageIndex; 1558SelectedImageIndex = selectedImageIndex;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
2246SelectedImageIndex = value;
System.Windows.Forms.Tests (20)
System\Windows\Forms\TreeNodeTests.cs (20)
2957SelectedImageIndex = value 2963node.SelectedImageIndex = value; 2996SelectedImageIndex = value 3002node.SelectedImageIndex = value; 3036node.SelectedImageIndex = value; 3042node.SelectedImageIndex = value; 3074node.SelectedImageIndex = value; 3080node.SelectedImageIndex = value; 3113node.SelectedImageIndex = value; 3119node.SelectedImageIndex = value; 3140node.SelectedImageIndex = value; 3149node.SelectedImageIndex = value; 3190node.SelectedImageIndex = value; 3219node.SelectedImageIndex = value; 3250node.SelectedImageIndex = value; 3273node.SelectedImageIndex = value; 3278node.SelectedImageIndex = value; 3288Assert.Throws<ArgumentOutOfRangeException>("value", () => node.SelectedImageIndex = value); 3300node.SelectedImageIndex = 0; 3329SelectedImageIndex = 0,
51 references to SelectedImageIndex
System.Windows.Forms (5)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
1517case nameof(SelectedImageIndex): 2066si.AddValue(nameof(SelectedImageIndex), SelectedImageIndexer.Index);
System\Windows\Forms\Controls\TreeView\TreeNodeConverter.cs (3)
48if (node.ImageIndex == -1 || node.SelectedImageIndex == -1) 79node.SelectedImageIndex 99node.SelectedImageIndex,
System.Windows.Forms.Tests (46)
System\Windows\Forms\TreeNodeCollectionTests.cs (3)
47Assert.Equal(-1, treeNode.SelectedImageIndex); 394treeNode.SelectedImageIndex.Should().Be(selectedImageIndex.Value); 495treeNode.SelectedImageIndex.Should().Be(selectedImageIndex.Value);
System\Windows\Forms\TreeNodeTests.cs (43)
42Assert.Equal(-1, node.SelectedImageIndex); 82Assert.Equal(-1, node.SelectedImageIndex); 130Assert.Equal(-1, node.SelectedImageIndex); 173Assert.Equal(selectedImageIndex, node.SelectedImageIndex); 221Assert.Equal(selectedImageIndex, node.SelectedImageIndex); 2959Assert.Equal(value, node.SelectedImageIndex); 2964Assert.Equal(value, node.SelectedImageIndex); 2970Assert.Equal(value, node.SelectedImageIndex); 2977Assert.Equal(-1, node.SelectedImageIndex); 2984Assert.Equal(expectedWithImage, node.SelectedImageIndex); 2998Assert.Equal(value, node.SelectedImageIndex); 3003Assert.Equal(value, node.SelectedImageIndex); 3009Assert.Equal(value, node.SelectedImageIndex); 3016Assert.Equal(expectedWithoutImage, node.SelectedImageIndex); 3023Assert.Equal(expectedWithImage, node.SelectedImageIndex); 3037Assert.Equal(value, node.SelectedImageIndex); 3043Assert.Equal(value, node.SelectedImageIndex); 3050Assert.Equal(expectedWithoutImage, node.SelectedImageIndex); 3057Assert.Equal(expectedWithImage, node.SelectedImageIndex); 3075Assert.Equal(expectedWithoutImage, node.SelectedImageIndex); 3081Assert.Equal(expectedWithoutImage, node.SelectedImageIndex); 3088Assert.Equal(expectedWithImage, node.SelectedImageIndex); 3114Assert.Equal(expected, node.SelectedImageIndex); 3120Assert.Equal(expected, node.SelectedImageIndex); 3141Assert.Equal(value, node.SelectedImageIndex); 3150Assert.Equal(value, node.SelectedImageIndex); 3160Assert.Equal(expectedWithoutImage, node.SelectedImageIndex); 3170Assert.Equal(expectedWithImage, node.SelectedImageIndex); 3274Assert.Equal(value, node.SelectedImageIndex); 3279Assert.Equal(value, node.SelectedImageIndex); 3301Assert.Equal(0, node.SelectedImageIndex); 3313Assert.Equal(-1, node.SelectedImageIndex); 3318Assert.Equal(-1, node.SelectedImageIndex); 3333Assert.Equal(ImageList.Indexer.DefaultIndex, node.SelectedImageIndex); 3338Assert.Equal(ImageList.Indexer.DefaultIndex, node.SelectedImageIndex); 3351Assert.Equal(-1, node.SelectedImageIndex); 3357Assert.Equal(-1, node.SelectedImageIndex); 3375Assert.Equal(-1, node.SelectedImageIndex); 3381Assert.Equal(-1, node.SelectedImageIndex); 3408Assert.Equal(-1, node.SelectedImageIndex); 3414Assert.Equal(-1, node.SelectedImageIndex); 3435Assert.Equal(-1, node.SelectedImageIndex); 3444Assert.Equal(-1, node.SelectedImageIndex);