If a TreeNode does not have an image set, the image specified by the ImageKey property will be shown when the node is not selected. When the node is selected, the first item in the ImageList will be shown.
The ImageKey and ImageIndex properties are mutually exclusive, meaning if one is set, the other is ignored. If you set the ImageKey property, the ImageIndex property is automatically set to -1. Alternatively, if you set the ImageIndex property, the ImageKey is automatically set to an empty string ("").
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)