23 writes to StateImageIndex
System.Windows.Forms (3)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (3)
1568
StateImageIndex
= stateImageIndex;
1642
StateImageIndex
= (Checked) ? 1 : 0;
1647
StateImageIndex
= (Checked) ? 1 : 0;
System.Windows.Forms.Tests (20)
System\Windows\Forms\TreeNodeTests.cs (20)
3580
StateImageIndex
= value
3586
node.
StateImageIndex
= value;
3623
StateImageIndex
= value
3629
node.
StateImageIndex
= value;
3678
node.
StateImageIndex
= value;
3684
node.
StateImageIndex
= value;
3717
node.
StateImageIndex
= value;
3723
node.
StateImageIndex
= value;
3765
node.
StateImageIndex
= value;
3771
node.
StateImageIndex
= value;
3807
node.
StateImageIndex
= value;
3816
node.
StateImageIndex
= value;
3854
node.
StateImageIndex
= value;
3884
node.
StateImageIndex
= value;
3916
node.
StateImageIndex
= value;
3947
node.
StateImageIndex
= value;
3953
node.
StateImageIndex
= value;
3979
Assert.Throws<ArgumentOutOfRangeException>("value", () => node.
StateImageIndex
= value);
3991
node.
StateImageIndex
= 0;
4037
StateImageIndex
= 0,
52 references to StateImageIndex
System.Windows.Forms (1)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (1)
1643
StateImageKey = _treeView.StateImageList.Images.Keys[
StateImageIndex
];
System.Windows.Forms.Tests (51)
System\Windows\Forms\TreeNodeCollectionTests.cs (1)
49
Assert.Equal(-1, treeNode.
StateImageIndex
);
System\Windows\Forms\TreeNodeTests.cs (50)
44
Assert.Equal(-1, node.
StateImageIndex
);
84
Assert.Equal(-1, node.
StateImageIndex
);
132
Assert.Equal(-1, node.
StateImageIndex
);
175
Assert.Equal(-1, node.
StateImageIndex
);
223
Assert.Equal(-1, node.
StateImageIndex
);
3582
Assert.Equal(value, node.
StateImageIndex
);
3587
Assert.Equal(value, node.
StateImageIndex
);
3593
Assert.Equal(value, node.
StateImageIndex
);
3600
Assert.Equal(-1, node.
StateImageIndex
);
3607
Assert.Equal(expectedWithImage, node.
StateImageIndex
);
3625
Assert.Equal(value, node.
StateImageIndex
);
3630
Assert.Equal(value, node.
StateImageIndex
);
3636
Assert.Equal(value, node.
StateImageIndex
);
3643
Assert.Equal(-1, node.
StateImageIndex
);
3650
Assert.Equal(expectedWithImage, node.
StateImageIndex
);
3679
Assert.Equal(value, node.
StateImageIndex
);
3685
Assert.Equal(value, node.
StateImageIndex
);
3692
Assert.Equal(-1, node.
StateImageIndex
);
3699
Assert.Equal(expectedWithImage, node.
StateImageIndex
);
3718
Assert.Equal(-1, node.
StateImageIndex
);
3724
Assert.Equal(-1, node.
StateImageIndex
);
3731
Assert.Equal(expectedWithImage, node.
StateImageIndex
);
3766
Assert.Equal(expected, node.
StateImageIndex
);
3772
Assert.Equal(expected, node.
StateImageIndex
);
3808
Assert.Equal(value, node.
StateImageIndex
);
3817
Assert.Equal(value, node.
StateImageIndex
);
3827
Assert.Equal(-1, node.
StateImageIndex
);
3948
Assert.Equal(value, node.
StateImageIndex
);
3954
Assert.Equal(value, node.
StateImageIndex
);
3961
Assert.Equal(-1, node.
StateImageIndex
);
3968
Assert.Equal(expectedWithImage, node.
StateImageIndex
);
3992
Assert.Equal(0, node.
StateImageIndex
);
3997
Assert.Equal(-1, node.
StateImageIndex
);
4009
Assert.Equal(-1, node.
StateImageIndex
);
4014
Assert.Equal(-1, node.
StateImageIndex
);
4020
Assert.Equal(-1, node.
StateImageIndex
);
4026
Assert.Equal(-1, node.
StateImageIndex
);
4041
Assert.Equal(ImageList.Indexer.DefaultIndex, node.
StateImageIndex
);
4046
Assert.Equal(ImageList.Indexer.DefaultIndex, node.
StateImageIndex
);
4052
Assert.Equal(ImageList.Indexer.DefaultIndex, node.
StateImageIndex
);
4058
Assert.Equal(ImageList.Indexer.DefaultIndex, node.
StateImageIndex
);
4084
Assert.Equal(-1, node.
StateImageIndex
);
4090
Assert.Equal(-1, node.
StateImageIndex
);
4097
Assert.Equal(-1, node.
StateImageIndex
);
4115
Assert.Equal(-1, node.
StateImageIndex
);
4121
Assert.Equal(-1, node.
StateImageIndex
);
4157
Assert.Equal(-1, node.
StateImageIndex
);
4163
Assert.Equal(-1, node.
StateImageIndex
);
4187
Assert.Equal(-1, node.
StateImageIndex
);
4196
Assert.Equal(-1, node.
StateImageIndex
);