21 writes to StateImageKey
System.Windows.Forms (2)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
1564
StateImageKey
= stateImageKey;
1643
StateImageKey
= _treeView.StateImageList.Images.Keys[StateImageIndex];
System.Windows.Forms.Tests (19)
System\Windows\Forms\TreeNodeTests.cs (19)
3622
StateImageKey
= "StateImageKey",
4006
StateImageKey
= value
4012
node.
StateImageKey
= value;
4038
StateImageKey
= value
4044
node.
StateImageKey
= value;
4082
node.
StateImageKey
= value;
4088
node.
StateImageKey
= value;
4113
node.
StateImageKey
= value;
4119
node.
StateImageKey
= value;
4155
node.
StateImageKey
= value;
4161
node.
StateImageKey
= value;
4185
node.
StateImageKey
= value;
4194
node.
StateImageKey
= value;
4217
node.
StateImageKey
= value;
4255
node.
StateImageKey
= value;
4295
node.
StateImageKey
= value;
4319
node.
StateImageKey
= value;
4324
node.
StateImageKey
= value;
4338
node.
StateImageKey
= "Key";
55 references to StateImageKey
System.Windows.Forms (3)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (3)
1526
case nameof(
StateImageKey
):
1640
if (!string.IsNullOrEmpty(
StateImageKey
))
2076
si.AddValue(nameof(
StateImageKey
), StateImageIndexer.Key);
System.Windows.Forms.Tests (52)
System\Windows\Forms\TreeNodeCollectionTests.cs (1)
50
Assert.Empty(treeNode.
StateImageKey
);
System\Windows\Forms\TreeNodeTests.cs (51)
45
Assert.Empty(node.
StateImageKey
);
85
Assert.Empty(node.
StateImageKey
);
133
Assert.Empty(node.
StateImageKey
);
176
Assert.Empty(node.
StateImageKey
);
224
Assert.Empty(node.
StateImageKey
);
3583
Assert.Empty(node.
StateImageKey
);
3588
Assert.Empty(node.
StateImageKey
);
3594
Assert.Empty(node.
StateImageKey
);
3601
Assert.Empty(node.
StateImageKey
);
3608
Assert.Empty(node.
StateImageKey
);
3626
Assert.Equal(ImageList.Indexer.DefaultKey, node.
StateImageKey
);
3631
Assert.Equal(ImageList.Indexer.DefaultKey, node.
StateImageKey
);
3637
Assert.Equal(ImageList.Indexer.DefaultKey, node.
StateImageKey
);
3644
Assert.Equal(ImageList.Indexer.DefaultKey, node.
StateImageKey
);
3651
Assert.Equal(ImageList.Indexer.DefaultKey, node.
StateImageKey
);
3680
Assert.Empty(node.
StateImageKey
);
3686
Assert.Empty(node.
StateImageKey
);
3693
Assert.Empty(node.
StateImageKey
);
3700
Assert.Empty(node.
StateImageKey
);
3719
Assert.Empty(node.
StateImageKey
);
3725
Assert.Empty(node.
StateImageKey
);
3732
Assert.Empty(node.
StateImageKey
);
3767
Assert.Empty(node.
StateImageKey
);
3773
Assert.Empty(node.
StateImageKey
);
3809
Assert.Empty(node.
StateImageKey
);
3818
Assert.Empty(node.
StateImageKey
);
3828
Assert.Empty(node.
StateImageKey
);
3949
Assert.Empty(node.
StateImageKey
);
3955
Assert.Empty(node.
StateImageKey
);
3962
Assert.Empty(node.
StateImageKey
);
3969
Assert.Empty(node.
StateImageKey
);
4008
Assert.Equal(expected, node.
StateImageKey
);
4013
Assert.Equal(expected, node.
StateImageKey
);
4019
Assert.Equal(expected, node.
StateImageKey
);
4025
Assert.Equal(expected, node.
StateImageKey
);
4040
Assert.Equal(expectedStateImageKey, node.
StateImageKey
);
4045
Assert.Equal(expectedStateImageKey, node.
StateImageKey
);
4051
Assert.Equal(expectedStateImageKey, node.
StateImageKey
);
4057
Assert.Equal(expectedStateImageKey, node.
StateImageKey
);
4083
Assert.Equal(expected, node.
StateImageKey
);
4089
Assert.Equal(expected, node.
StateImageKey
);
4096
Assert.Equal(expected, node.
StateImageKey
);
4114
Assert.Equal(expected, node.
StateImageKey
);
4120
Assert.Equal(expected, node.
StateImageKey
);
4156
Assert.Equal(expected, node.
StateImageKey
);
4162
Assert.Equal(expected, node.
StateImageKey
);
4186
Assert.Equal(expected, node.
StateImageKey
);
4195
Assert.Equal(expected, node.
StateImageKey
);
4320
Assert.Equal(expected, node.
StateImageKey
);
4325
Assert.Equal(expected, node.
StateImageKey
);
4339
Assert.Equal("Key", node.
StateImageKey
);