21 writes to StateImageKey
System.Windows.Forms (2)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
1561StateImageKey = stateImageKey; 1640StateImageKey = _treeView.StateImageList.Images.Keys[StateImageIndex];
System.Windows.Forms.Tests (19)
System\Windows\Forms\TreeNodeTests.cs (19)
3624StateImageKey = "StateImageKey", 4008StateImageKey = value 4014node.StateImageKey = value; 4040StateImageKey = value 4046node.StateImageKey = value; 4084node.StateImageKey = value; 4090node.StateImageKey = value; 4115node.StateImageKey = value; 4121node.StateImageKey = value; 4157node.StateImageKey = value; 4163node.StateImageKey = value; 4187node.StateImageKey = value; 4196node.StateImageKey = value; 4219node.StateImageKey = value; 4257node.StateImageKey = value; 4297node.StateImageKey = value; 4321node.StateImageKey = value; 4326node.StateImageKey = value; 4340node.StateImageKey = "Key";
55 references to StateImageKey
System.Windows.Forms (3)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (3)
1523case nameof(StateImageKey): 1637if (!string.IsNullOrEmpty(StateImageKey)) 2071si.AddValue(nameof(StateImageKey), StateImageIndexer.Key);
System.Windows.Forms.Tests (52)
System\Windows\Forms\TreeNodeCollectionTests.cs (1)
52Assert.Empty(treeNode.StateImageKey);
System\Windows\Forms\TreeNodeTests.cs (51)
47Assert.Empty(node.StateImageKey); 87Assert.Empty(node.StateImageKey); 135Assert.Empty(node.StateImageKey); 178Assert.Empty(node.StateImageKey); 226Assert.Empty(node.StateImageKey); 3585Assert.Empty(node.StateImageKey); 3590Assert.Empty(node.StateImageKey); 3596Assert.Empty(node.StateImageKey); 3603Assert.Empty(node.StateImageKey); 3610Assert.Empty(node.StateImageKey); 3628Assert.Equal(ImageList.Indexer.DefaultKey, node.StateImageKey); 3633Assert.Equal(ImageList.Indexer.DefaultKey, node.StateImageKey); 3639Assert.Equal(ImageList.Indexer.DefaultKey, node.StateImageKey); 3646Assert.Equal(ImageList.Indexer.DefaultKey, node.StateImageKey); 3653Assert.Equal(ImageList.Indexer.DefaultKey, node.StateImageKey); 3682Assert.Empty(node.StateImageKey); 3688Assert.Empty(node.StateImageKey); 3695Assert.Empty(node.StateImageKey); 3702Assert.Empty(node.StateImageKey); 3721Assert.Empty(node.StateImageKey); 3727Assert.Empty(node.StateImageKey); 3734Assert.Empty(node.StateImageKey); 3769Assert.Empty(node.StateImageKey); 3775Assert.Empty(node.StateImageKey); 3811Assert.Empty(node.StateImageKey); 3820Assert.Empty(node.StateImageKey); 3830Assert.Empty(node.StateImageKey); 3951Assert.Empty(node.StateImageKey); 3957Assert.Empty(node.StateImageKey); 3964Assert.Empty(node.StateImageKey); 3971Assert.Empty(node.StateImageKey); 4010Assert.Equal(expected, node.StateImageKey); 4015Assert.Equal(expected, node.StateImageKey); 4021Assert.Equal(expected, node.StateImageKey); 4027Assert.Equal(expected, node.StateImageKey); 4042Assert.Equal(expectedStateImageKey, node.StateImageKey); 4047Assert.Equal(expectedStateImageKey, node.StateImageKey); 4053Assert.Equal(expectedStateImageKey, node.StateImageKey); 4059Assert.Equal(expectedStateImageKey, node.StateImageKey); 4085Assert.Equal(expected, node.StateImageKey); 4091Assert.Equal(expected, node.StateImageKey); 4098Assert.Equal(expected, node.StateImageKey); 4116Assert.Equal(expected, node.StateImageKey); 4122Assert.Equal(expected, node.StateImageKey); 4158Assert.Equal(expected, node.StateImageKey); 4164Assert.Equal(expected, node.StateImageKey); 4188Assert.Equal(expected, node.StateImageKey); 4197Assert.Equal(expected, node.StateImageKey); 4322Assert.Equal(expected, node.StateImageKey); 4327Assert.Equal(expected, node.StateImageKey); 4341Assert.Equal("Key", node.StateImageKey);